summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Missing piece of r89173.Eli Friedman2009-11-181-0/+3
| | | | llvm-svn: 89174
* Refactor emitting call to delete operator into common function EmitDeleteCall.Eli Friedman2009-11-182-46/+32
| | | | llvm-svn: 89173
* Fix one last gotcha with typeid.Mike Stump2009-11-182-0/+5
| | | | llvm-svn: 89172
* Add SourceLocations to ObjCClassDecl for the class identifiers referenced by ↵Ted Kremenek2009-11-188-32/+64
| | | | | | @class. llvm-svn: 89170
* Finish code completion for Objective-C message sendsDouglas Gregor2009-11-182-14/+43
| | | | llvm-svn: 89168
* Cleanup.Mike Stump2009-11-171-3/+3
| | | | llvm-svn: 89166
* Add rtti support for arrays, functiond without prototypes, vectors andMike Stump2009-11-172-15/+16
| | | | | | enums. llvm-svn: 89165
* Rename Objective-C message send completion functions to indicate that we're ↵Douglas Gregor2009-11-174-20/+21
| | | | | | referring to message sends llvm-svn: 89164
* Refactor code-completion support for message sends, collecting theDouglas Gregor2009-11-173-89/+102
| | | | | | | | | code to find and add Objective-C methods (starting at an ObjCContainerDecl) into a single, static function. Also, make sure that we search into the implementations of classes and categories to find even more methods. llvm-svn: 89163
* Pass source locations of identifiers referenced by @class through ↵Ted Kremenek2009-11-176-6/+17
| | | | | | Action::ActOnForwardClassDeclaration(). llvm-svn: 89162
* Add rtti info for function prototypes and refactor. This allowsMike Stump2009-11-172-48/+77
| | | | | | pointer to member functions to work. WIP. llvm-svn: 89161
* Do not register ObjCInterfaceDecls implicitly created by @class in theTed Kremenek2009-11-172-1/+21
| | | | | | | | | | | | | | | | | | current DeclContext. These "imaginary" declarations pose issues for clients searching DeclContext for actual declarations. Instead, register them for name lookup, and add the ObjCInterfaceDecl later to the DeclContext when we hit an actual @interface declaration. This also fixes a bug where the invariant that the Decls in a DeclContext are sorted in order of their appearance is no longer violated. What could happen is that an @class causes an ObjCInterfaceDecl to get added first to the DeclContext, then the ObjCClassDecl itself is added, and then later the SourceLocation of the ObjCInterfaceDecl is updated with the correct location (which is later in the file). This breaks an assumed invariant in ResolveLocation.cpp (and possibly other clients). llvm-svn: 89160
* This patch finalizes implementatin of weak_importFariborz Jahanian2009-11-172-0/+40
| | | | | | objective-c2 classes (radar 6815425). llvm-svn: 89157
* Add rtti support for pointer to data members.Mike Stump2009-11-173-8/+36
| | | | llvm-svn: 89155
* Drop unnecessary #include.Daniel Dunbar2009-11-172-3/+3
| | | | llvm-svn: 89154
* Remove unnecessary &&s.Daniel Dunbar2009-11-171-5/+5
| | | | llvm-svn: 89153
* More cases for weak_import objective-c2 classes.Fariborz Jahanian2009-11-171-0/+3
| | | | | | (still radar 6815425). llvm-svn: 89152
* Fix -Asserts warning.Daniel Dunbar2009-11-171-1/+1
| | | | llvm-svn: 89149
* Add rtti support for non-member pointers. WIP.Mike Stump2009-11-172-15/+100
| | | | llvm-svn: 89148
* More support for weak_import objective-c2 class.Fariborz Jahanian2009-11-171-0/+27
| | | | | | (radar 6815425). llvm-svn: 89146
* Improve location information when adding conversion candidatesDouglas Gregor2009-11-171-2/+2
| | | | llvm-svn: 89141
* fgetln is a BSDism; replace it with more portable code.Benjamin Kramer2009-11-171-6/+9
| | | | llvm-svn: 89140
* Add c-index-test mode "-test-file-scan", which scans a source file and calls ↵Ted Kremenek2009-11-172-6/+260
| | | | | | clang_getCursor() on every character. llvm-svn: 89136
* Fix test case.Ted Kremenek2009-11-171-156/+156
| | | | llvm-svn: 89135
* Added block type introspection support.David Chisnall2009-11-178-13/+125
| | | | | | As per Fariborz's suggestion, committed now but can be reverted later if the used flag is problematic for Apple. llvm-svn: 89134
* Fixed bug where ivar offsets were being initialized as 0 with the fragile ↵David Chisnall2009-11-171-1/+1
| | | | | | GNU ABI. llvm-svn: 89133
* Rename test.Ted Kremenek2009-11-171-0/+0
| | | | llvm-svn: 89132
* Add clang_getNullCursor() and clang_equalCursors() (the latter for comparing ↵Ted Kremenek2009-11-173-0/+18
| | | | | | cursors). llvm-svn: 89131
* Undo previous test fix. -split-phi-edges now disables automatically when theJakob Stoklund Olesen2009-11-171-1/+1
| | | | | | local register allocator is used. llvm-svn: 89127
* Start support of weak_import objective-c classes.Fariborz Jahanian2009-11-172-1/+3
| | | | | | (Radar 6815425). llvm-svn: 89124
* Replace (-INT8_C(128)), which uses an illegally out-of-range argument forKen Dyck2009-11-172-76/+73
| | | | | | | INT8_C, with (-INT8_C(127)-1) in the definition of INT8_MIN. Apply similar changes to the definitions of INT16_MIN and INT24_MIN. llvm-svn: 89120
* Allow "source_filename" to be an optional argument (the client can provide ↵Ted Kremenek2009-11-172-2/+4
| | | | | | NULL). This allows the client to put the source_filename in the command_line_args without fear of the file being named twice. llvm-svn: 89118
* Organize c-index-test into logic sections, and add section headers.Ted Kremenek2009-11-171-42/+62
| | | | llvm-svn: 89117
* Clean up c-index-test command line usage a bit by requiring a ↵Ted Kremenek2009-11-173-39/+52
| | | | | | "-test-load-tu" option when testing clang_loadTranslationUnit(). Running c-index-test without the correct arguments now also prints a useful summary of its correct usage. llvm-svn: 89115
* Adjust format attribute index for implicit object arguments. Fixes PR5521.Sebastian Redl2009-11-173-2/+35
| | | | llvm-svn: 89113
* Implement code completion for Objective-C message sends to "super".Douglas Gregor2009-11-172-2/+114
| | | | llvm-svn: 89112
* Fixes a typo, reported by Doug.Fariborz Jahanian2009-11-173-3/+3
| | | | llvm-svn: 89107
* Fix PR5531.Anders Carlsson2009-11-172-4/+33
| | | | llvm-svn: 89106
* Make sure, for sure this time, that expressions do not have reference typeDouglas Gregor2009-11-171-1/+1
| | | | llvm-svn: 89104
* Augment code-completion results to provide argument names andDouglas Gregor2009-11-172-0/+68
| | | | | | placeholder arguments for Objective-C message sends. llvm-svn: 89103
* StringRef'ify CodeCompletionStringDouglas Gregor2009-11-172-13/+15
| | | | llvm-svn: 89102
* Use the INTn_C integer constant macros to generate limit constants with correctKen Dyck2009-11-172-98/+101
| | | | | | | suffixes. This corrects the suffixes for the limit constants of the 32-bit types on MSP430 and PIC16, and the 64-bit types on PPC64, SystemZ, X86_64. llvm-svn: 89101
* recognize .hpp as c++ (needed for ./configure'ing boost)Nuno Lopes2009-11-171-1/+1
| | | | llvm-svn: 89100
* add Fedora 11 include path. what a crap..Nuno Lopes2009-11-171-0/+5
| | | | llvm-svn: 89098
* Make test header independent so it doesn't fail on freebsd. I hope this doesn'tBenjamin Kramer2009-11-171-3/+3
| | | | | | hurt the intention of the test. llvm-svn: 89096
* Remove unnecessary parens around the bodies of integer constant macros. C99Ken Dyck2009-11-172-125/+125
| | | | | | | requires that their arguments be decimal, hex, octal constants---no signs allowed---making the parens unnecessary. llvm-svn: 89095
* Fix MSVC warning.Benjamin Kramer2009-11-171-1/+1
| | | | llvm-svn: 89092
* Temporarily unbreak the clang-on-llvm tests. :) Not going to fix unresolvedJohn McCall2009-11-171-9/+1
| | | | | | lookup all in a night. llvm-svn: 89089
* ... and add back a few more triple forces.Daniel Dunbar2009-11-174-4/+4
| | | | llvm-svn: 89088
* Remove stale reference to old WPA dir, patch by Kovarththanan Rajaratnam.Daniel Dunbar2009-11-171-4/+0
| | | | llvm-svn: 89086
OpenPOWER on IntegriCloud