summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* add support for goto checking and @synchronized blocks,Chris Lattner2009-04-212-0/+18
| | | | | | rdar://6810106 llvm-svn: 69667
* fix massive testsuite failures from Alexei's patch due to inverted logic.Chris Lattner2009-04-211-9/+7
| | | | llvm-svn: 69666
* Split preprocessor initialization logic out of clang-cc intoChris Lattner2009-04-212-0/+470
| | | | | | libfrontend. Patch by Alexei Svitkine! llvm-svn: 69664
* rename -fprint-source-range-info -> -fdiagnostics-print-source-range-info.Chris Lattner2009-04-211-0/+1
| | | | | | Temporarily accept both of them, I'll rip out the old one after awhile. llvm-svn: 69662
* Fix PR4027 + rdar://6808859, we were rejecting implicit casts ofChris Lattner2009-04-211-0/+1
| | | | | | aggregates even though we already accept explicit ones. Easy fix. llvm-svn: 69661
* improve MacroInfo to track the source range of the macro definition,Chris Lattner2009-04-211-1/+10
| | | | | | patch by Alexei Svitkine! llvm-svn: 69659
* use of predefined identifiers like __func__ at global scope warn in sema,Chris Lattner2009-04-211-1/+1
| | | | | | | but crashed codegen. Fix this to report the name of the llvm function. This fixes rdar://6808051 llvm-svn: 69658
* make "in included from" and "in instatiation from" messages respectChris Lattner2009-04-211-9/+15
| | | | | | -fno-show-location, patch by Alexei Svitkine (PR4024) llvm-svn: 69657
* add a preprocessor callback function for #undef, patch byChris Lattner2009-04-211-1/+5
| | | | | | Alexei Svitkine! llvm-svn: 69656
* Add a CXXDestroyExpr. Add classof member functions to CXXTempVarDecl.Anders Carlsson2009-04-212-0/+18
| | | | llvm-svn: 69654
* Use an APInt of target int size to detect overflow while parsing multichars.Sanjiv Gupta2009-04-211-13/+18
| | | | | | So 'abc' on i16 platforms will warn but not on i32 platforms. llvm-svn: 69653
* Add the beginnings of a CXXTempVarDecl class.Anders Carlsson2009-04-211-0/+7
| | | | llvm-svn: 69652
* Remove unnused variable.Daniel Dunbar2009-04-211-1/+0
| | | | llvm-svn: 69650
* Kill ASTContext::[gs]etFieldForDecl, instead we just lookup thingsDaniel Dunbar2009-04-218-42/+15
| | | | | | | | when we need them -- which is exactly what some code was already doing! - No intended functionality change. llvm-svn: 69648
* Fixup codegen for write barriers for block variables. Radar 6786715Mike Stump2009-04-211-1/+1
| | | | llvm-svn: 69642
* Remove LateBoundIVars() runtime interface, it is unused.Daniel Dunbar2009-04-213-24/+3
| | | | llvm-svn: 69641
* Assert on a few conditions that (I believe) should holdDaniel Dunbar2009-04-213-0/+5
| | | | | | | w.r.t. ASTContext::[gs]etFieldDecl, and the Field argument to EmitObjCValueForIvar). llvm-svn: 69639
* Look at the TMP environment variable as well.Daniel Dunbar2009-04-211-0/+2
| | | | llvm-svn: 69638
* ObjC2's Ivar bitmap layout work. No change in functionality.Fariborz Jahanian2009-04-201-17/+29
| | | | llvm-svn: 69629
* fix the second half of PR4006 and rdar://6807000 by treatingChris Lattner2009-04-201-7/+11
| | | | | | | () as being either zero arguments or one empty argument depending on situation. llvm-svn: 69627
* Write the identifier table into the PCH file as an on-disk hash tableDouglas Gregor2009-04-202-20/+101
| | | | | | | | | | | that also includes the contents of the IdentifierInfo itself (the various fields and flags, along with the chain of identifiers visible at the top level that have that name). We don't make any use of the hash table yet, except that our identifier ID -> string mapping points into the hash table now. llvm-svn: 69625
* Fix tyop in SSSE3 header (6808876).Anders Carlsson2009-04-201-2/+2
| | | | llvm-svn: 69623
* Also look at the TEMP environment variable as a place to put temporaryDaniel Dunbar2009-04-201-5/+6
| | | | | | files. llvm-svn: 69622
* Move countInheritedIvars to within striking distance ofDaniel Dunbar2009-04-201-39/+34
| | | | | | | | | | | | GetClassSizeInfo Reduce nesting in GetInterfaceDeclStructLayout. Tweak some comments. No functionality change. llvm-svn: 69621
* Add pch reader/writer support for ObjCContainerDecl, ObjCInterfaceDecl, & ↵Steve Naroff2009-04-203-1/+77
| | | | | | | | ObjCIvarDecl. Next step: Add selector support to PCHWriter::AddDeclarationName(). llvm-svn: 69619
* the __gnuc_inline__ attribute is actually named __gnu_inline__,Chris Lattner2009-04-205-10/+10
| | | | | | PR4023 llvm-svn: 69618
* If defined, use TMPDIR environment variable as location for temporary files.Daniel Dunbar2009-04-201-1/+6
| | | | llvm-svn: 69609
* clean up anonymous bitfield diagnostics, PR4017Chris Lattner2009-04-201-9/+21
| | | | llvm-svn: 69608
* Introduce the notion of a SemaConsumer, which is an ASTConsumer thatDouglas Gregor2009-04-202-1/+9
| | | | | | | | | also gets access to the Sema object performing semantic analysis. This will be used by the PCH writer to serialize Sema state. No functionality change. llvm-svn: 69595
* Add pch reader/writer support for ObjCMethodDecl.Steve Naroff2009-04-204-9/+67
| | | | | | Test will be enabled with ObjCInterfaceDecl is added. llvm-svn: 69594
* Some cleanup and bug-fixing for address-of checking. This causes a couple of Eli Friedman2009-04-201-49/+24
| | | | | | | | minor accepts-invalid regressions, but we weren't really rejecting them for the right reason. We really need a more general solution to detect all the cases of the promotion of arrays with a register storage class. llvm-svn: 69586
* Inline GetFirstIvarInRecord into sole caller.Daniel Dunbar2009-04-201-28/+9
| | | | | | - No functionality change. llvm-svn: 69582
* Set a bit in IMAGE_INFO to indicate that we don't contain anyDaniel Dunbar2009-04-201-3/+12
| | | | | | | | @synthesized ivars for superclasses. - <rdar://problem/6806371> [clang] Mark code without miscompiled @synthesized properties llvm-svn: 69581
* Move the on-disk hash table code into its own header. No functionality change.Douglas Gregor2009-04-201-171/+2
| | | | llvm-svn: 69580
* Lift out GetNamedIvarList.Daniel Dunbar2009-04-201-30/+40
| | | | | | | | | Drop uses of GetFirstInvarInRecord, instead we lookup the ivars we know are in the record. - This is somewhat less efficient, but I need to detangle this code first... llvm-svn: 69579
* Make FieldDecl parameter to getObjCEncodingForType... const.Daniel Dunbar2009-04-201-4/+4
| | | | llvm-svn: 69578
* Remove loc::FuncVal.Zhongxing Xu2009-04-205-23/+0
| | | | llvm-svn: 69577
* Don't crash in the diagnostic printer if we happen to get passed aDaniel Dunbar2009-04-201-0/+13
| | | | | | null string / identifier. llvm-svn: 69575
* Don't emit ivar offsets for unnamed bit fields.Daniel Dunbar2009-04-201-5/+8
| | | | | | Also, added assertion that the field matches what would be looked up. llvm-svn: 69572
* get a CodeTextRegion when visiting FunctionDecl reference.Zhongxing Xu2009-04-205-32/+44
| | | | | | get FunctionDecl with more general utility method. llvm-svn: 69570
* PR3247: Handle a couple of cases where we weren't emitting VLA sizes (and Eli Friedman2009-04-202-1/+9
| | | | | | subsequently crashed). llvm-svn: 69567
* PR3248: Make sure the evaluate the operand of a sizeof when it has a VLA type.Eli Friedman2009-04-201-0/+4
| | | | | | Adapted from patch by Tim Northover. llvm-svn: 69566
* As we now have ValueManager as the new value factory, we do not need factoryZhongxing Xu2009-04-201-1/+1
| | | | | | methods of SVal. llvm-svn: 69565
* Remove non-const form of lookupFieldDeclForIvar.Daniel Dunbar2009-04-204-7/+11
| | | | llvm-svn: 69563
* Comment fixes.Daniel Dunbar2009-04-201-6/+6
| | | | llvm-svn: 69562
* Lift GetClassSizeInfo out of GenerateClass, add a FIXME.Daniel Dunbar2009-04-191-29/+37
| | | | | | - No functionality change. llvm-svn: 69561
* implement "#pragma GCC diagnostic". Besides being a nice feature, thisChris Lattner2009-04-191-2/+79
| | | | | | | | | will let us test for multiple different warning modes in the same file in regression tests. This implements rdar://2362963, a 10-year old feature request :) llvm-svn: 69560
* move group twiddling options into Diagnostic.cpp instead ofChris Lattner2009-04-191-0/+58
| | | | | | | Warnings.cpp. Warnings.cpp now doesn't need to #include tblgen produced output directly. llvm-svn: 69559
* don't crash on invalid ranges in -fprint-source-range-infoChris Lattner2009-04-191-0/+3
| | | | | | mode, just ignore them as usual. llvm-svn: 69558
* Warn about uses of #pragma STDC FENV_ACCESS ON, since we don't Chris Lattner2009-04-191-1/+2
| | | | | | | | | | support it. I don't know what evaluation method we use for complex arithmetic, so I don't know whether/if we should warn about use of CX_LIMITED_RANGE. This concludes my planned hacking on STDC pragmas, flame away :) llvm-svn: 69556
OpenPOWER on IntegriCloud