summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove comma at the end of enumerator list.Daniel Dunbar2009-08-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79586 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove TypeSpecStartLocation from VarDecl/FunctionDecl/FieldDecl, and use ↵Argyrios Kyrtzidis2009-08-2111-88/+53
| | | | | | DeclaratorInfo to get this information. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79584 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the new Objective-C "id" and "Class" redefinition types specialDouglas Gregor2009-08-213-1/+13
| | | | | | | | types that are preloaded by the PCH file. Fixes PCH breakage introduced in r79248. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79583 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement support for calling member function templates, which involves:Douglas Gregor2009-08-215-26/+169
| | | | | | | | | | | | - Allowing one to name a member function template within a class template and on the right-hand side of a member access expression. - Template argument deduction for calls to member function templates. - Registering specializations of member function templates (and finding them later). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79581 91177308-0d34-0410-b5e6-96231b3b80d8
* Center the dragon.Ted Kremenek2009-08-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79580 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the dragon a link...Ted Kremenek2009-08-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79577 91177308-0d34-0410-b5e6-96231b3b80d8
* Include LLVM logo ... because dragons are cool.Ted Kremenek2009-08-202-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79576 91177308-0d34-0410-b5e6-96231b3b80d8
* Added member arrays to more tests now that ir-gen supports it.Fariborz Jahanian2009-08-201-3/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79575 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to ir-gen destruction of array member elements in revers orderFariborz Jahanian2009-08-202-1/+61
| | | | | | | | of their construction. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79571 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for parsing and representation of member function templates.Douglas Gregor2009-08-208-23/+66
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79570 91177308-0d34-0410-b5e6-96231b3b80d8
* ir-gen patch to destruct array members. WIP.Fariborz Jahanian2009-08-202-13/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79565 91177308-0d34-0410-b5e6-96231b3b80d8
* Update checker build.Ted Kremenek2009-08-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79559 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typo in a variable nameDouglas Gregor2009-08-201-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79558 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't install wpa or index-test tools.Daniel Dunbar2009-08-202-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79557 91177308-0d34-0410-b5e6-96231b3b80d8
* Issue an error if the user specifies parameters in a function marked as ISR.Sanjiv Gupta2009-08-203-3/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79544 91177308-0d34-0410-b5e6-96231b3b80d8
* Using "ObjCImplicitSetterGetterRefExpr" instead of ↵Fariborz Jahanian2009-08-2022-80/+84
| | | | | | | | | | "ObjCImplctSetterGetterRefExpr". A field rename and more comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79537 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine vbase offsets for the inductive case. Things are now startingMike Stump2009-08-202-13/+83
| | | | | | | to come together nicely. Still a WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79521 91177308-0d34-0410-b5e6-96231b3b80d8
* Add syntax examples for the friend declaration types.John McCall2009-08-202-4/+16
| | | | | | | Remove an assert trivialized by dominating code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79520 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor the instantiation of statements into a generic treeDouglas Gregor2009-08-205-499/+754
| | | | | | | transformation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79519 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve the Getting Started and Hacking web pages, patch byChris Lattner2009-08-202-20/+28
| | | | | | | John Thompson! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79518 91177308-0d34-0410-b5e6-96231b3b80d8
* retain/release checker: Treat NSObject method '-awakeAfterUsingCoder:'Ted Kremenek2009-08-202-10/+35
| | | | | | | just as if it behaved like an init function. This fixes <rdar://problem/7129086>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79515 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this test case more portable by removing its dependency on system ↵Ted Kremenek2009-08-201-3/+8
| | | | | | header files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79511 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bit-field promotion to be a bit closer to the behavior of gcc. Eli Friedman2009-08-205-62/+108
| | | | | | | | | Patch by Enea Zaffanella, with some simplifications/corrections to isPromotableBitField by me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79510 91177308-0d34-0410-b5e6-96231b3b80d8
* If the 'while' has an empty body, set the body to the continue target block.Zhongxing Xu2009-08-201-1/+1
| | | | | | | | Although this does not make the CFG more correct, it makes the CFG more beautiful without multiple roots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79509 91177308-0d34-0410-b5e6-96231b3b80d8
* If the body of for loop is empty, set its body to the continue target.Zhongxing Xu2009-08-201-1/+1
| | | | | | | Otherwise we get a wrong CFG. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79507 91177308-0d34-0410-b5e6-96231b3b80d8
* Ensure we don't output repeated vbase offsets. I have a testcase forMike Stump2009-08-202-24/+25
| | | | | | | | this, but need to fixup the actual offset value before I can check it in. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79506 91177308-0d34-0410-b5e6-96231b3b80d8
* Basic nested-template implementation.John McCall2009-08-205-0/+185
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79504 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename: ProgramPoint::getContext() => ProgramPoint::getLocationContext().Zhongxing Xu2009-08-203-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79502 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for my last patch plus a minor clean up.Fariborz Jahanian2009-08-202-4/+47
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79500 91177308-0d34-0410-b5e6-96231b3b80d8
* retain/release checker: Special case handling of CFAttributedStringSetAttribute,Ted Kremenek2009-08-203-80/+99
| | | | | | | | fixing <rdar://problem/7152619>. Along the way, merge test cases in 'test/Analysis/rdar-6539791.c' into 'test/Analysis/retain-release.m'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79499 91177308-0d34-0410-b5e6-96231b3b80d8
* ir-gen for multi-dimensional array construction. WIP.Fariborz Jahanian2009-08-201-6/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79497 91177308-0d34-0410-b5e6-96231b3b80d8
* Enhance diagnostics concerning attribute 'ns_returns_retained' and ↵Ted Kremenek2009-08-191-4/+6
| | | | | | 'cf_returns_retained' to present the range of the attribute and have the diagnostic location be the declaration that the attribute was falsely attached to. This solves the problem where these diagnostics were being suppressed when these attributes were wrapped in a macro that was defined in a system header. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79496 91177308-0d34-0410-b5e6-96231b3b80d8
* Keep track of the right paren ')' source location in a function declarator.Argyrios Kyrtzidis2009-08-195-16/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79489 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed unneeded code for break/continue statements inFariborz Jahanian2009-08-191-7/+0
| | | | | | | | | manufactured for-loop per Anders feedback (thanks). - Fariborz git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79466 91177308-0d34-0410-b5e6-96231b3b80d8
* ir-gen for constructing arrays as non-static data members. WIP.Fariborz Jahanian2009-08-192-1/+99
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79464 91177308-0d34-0410-b5e6-96231b3b80d8
* Add TCE target to clang; patch by Mikael Lepistö.Eli Friedman2009-08-191-0/+67
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79462 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove now unnecessary helper methods.Daniel Dunbar2009-08-194-26/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79460 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak svn:ignoreDaniel Dunbar2009-08-190-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79459 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to SmallString::str from SmallString::c_str.Daniel Dunbar2009-08-195-21/+27
| | | | | | | - Several FIXMEs due to non-Twinification of IRBuilder. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79455 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert parts of Rewriter to StringRef based API.Daniel Dunbar2009-08-197-72/+65
| | | | | | | | - Please accept my sincere apologies for the gratuitous elimination of code duplication, manual string length counting, unnecessary strlen calls, etc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79448 91177308-0d34-0410-b5e6-96231b3b80d8
* Use raw_svector_ostream for string concatenation.Daniel Dunbar2009-08-191-7/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79444 91177308-0d34-0410-b5e6-96231b3b80d8
* One second thought, I think I want to limit this class to just vtableMike Stump2009-08-191-5/+5
| | | | | | | building activities. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79438 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup: fold IndirectPrimary into builder.Mike Stump2009-08-191-12/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79423 91177308-0d34-0410-b5e6-96231b3b80d8
* We don't want to confuse this layout with the BLayout from the builder.Mike Stump2009-08-191-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79422 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for recent improvements.Mike Stump2009-08-191-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79421 91177308-0d34-0410-b5e6-96231b3b80d8
* Get the Decl from the current ExplodedNode. Eventually the diagnostic clientZhongxing Xu2009-08-192-2/+6
| | | | | | | and other core analysis logic will be untied to a particular Decl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79420 91177308-0d34-0410-b5e6-96231b3b80d8
* Update CMakeLists.Benjamin Kramer2009-08-191-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79416 91177308-0d34-0410-b5e6-96231b3b80d8
* Make integer promotions work correctly on PIC16 and other platforms Eli Friedman2009-08-197-159/+186
| | | | | | | | | | where sizeof(short) == sizeof(int). Move UsualArithmeticConversionsType out of Sema, since it was only there as a historical artifact. Patch by Enea Zaffanella. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79412 91177308-0d34-0410-b5e6-96231b3b80d8
* Restore vbase offsets for classes without a primary.Mike Stump2009-08-192-2/+170
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79402 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine vcalls a little.Mike Stump2009-08-192-42/+54
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79400 91177308-0d34-0410-b5e6-96231b3b80d8