summaryrefslogtreecommitdiffstats
path: root/clang/Sema/SemaDeclObjC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-927/+0
| | | | | | | | | | lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
* move the ASTContext argument to be first in the argument list of Chris Lattner2008-03-151-2/+2
| | | | | | all Create methods. llvm-svn: 48398
* switch the VarDecl allocation model to go through ASTContext.Chris Lattner2008-03-151-2/+3
| | | | llvm-svn: 48396
* Fix http://llvm.org/bugs/show_bug.cgi?id=2106.Steve Naroff2008-02-291-0/+6
| | | | llvm-svn: 47768
* Fix a crash where PI.TypeInfo has not been filled in case of missing ↵Gabor Greif2008-02-291-6/+7
| | | | | | | | | ObjCInterfaceDecl. Happens with Xcode 2.4.1 headers on test Parser/objc-foreach-error-1.m llvm-svn: 47767
* convert tabs to spaces, patch by Mike Stump!Chris Lattner2008-02-251-1/+1
| | | | llvm-svn: 47560
* Turn handling of parameter attributes back on, fixing the ObjC breakageNate Begeman2008-02-171-0/+1
| | | | llvm-svn: 47246
* Add a diagnostics helper to remove some redundant code.Steve Naroff2008-02-101-48/+22
| | | | llvm-svn: 46936
* A bunch-o changes to fix <rdar://problem/5716046> incomplete implementation ↵Steve Naroff2008-02-081-26/+40
| | | | | | | | of ObjC class warning is incomplete As part of this fix, I made a low-level change to the text diagnostics machinery (to basically avoid printing duplicate source lines/carets when you have multiple diagnostics that refer to the same exact place). For now, this only happens with we don't have a source range (could be extended to support source ranges as well). llvm-svn: 46897
* Elimate bogus warning when va_start is correctly used inFariborz Jahanian2008-01-211-1/+1
| | | | | | a method. llvm-svn: 46232
* Don't ICE on missing interface declaration when declaring one of its protocols.Fariborz Jahanian2008-01-171-14/+15
| | | | llvm-svn: 46141
* Recover from user typo not having proper @interface decl and a bad foreach decl.Fariborz Jahanian2008-01-101-3/+8
| | | | llvm-svn: 45839
* Substituted all instances of the string "Objc" for "ObjC". This fixesTed Kremenek2008-01-071-175/+175
| | | | | | | some naming inconsistencies in the names of classes pertaining to Objective-C support in clang. llvm-svn: 45715
* Don't attribute in file headers anymore. See llvmdev for theChris Lattner2007-12-291-2/+2
| | | | | | discussion of this change. llvm-svn: 45410
* Patch to do type-checking for objctive-c's object types.Fariborz Jahanian2007-12-201-6/+6
| | | | | | More is yet to come. llvm-svn: 45263
* Various tweaks to the get/lookup instance/class method API's.Steve Naroff2007-12-191-4/+4
| | | | llvm-svn: 45224
* Improve how we find private method decls. This involved:Steve Naroff2007-12-181-4/+12
| | | | | | | | | | | | | - Changed Sema::ObjcActOnStartOfMethodDef() to register the methods with the global pools. - Changed Sema::ActOnInstanceMessage() to look in global pools (should be much less error prone). - Added a test case to message.m (for lookup that was broken). Misc changes while I was investigating this... - Changed Sema::ActOnAtEnd() to call AddFactoryMethodToGlobalPool (this looked like a cut/paste error). - Added a comment and tweaked another where I was using the first person. llvm-svn: 45142
* - Remove getInstanceMethods/getClassMethods API on ObjcInterfaceDecl, ↵Steve Naroff2007-12-141-23/+25
| | | | | | | | | | ObjcProtocolDecl, and ObjcCategoryDecl. These methods are replaced by the respective iterators on each class. - Add getInstanceMethodForSelector to ObjcInterfaceDecl, ObjcProtocolDecl, and ObjcCatgoryDecl. This hook will do a "shallow" lookup. This is a convenience method that reducing some of the iterator usage. - Various changes to convert all clients to the above API's... llvm-svn: 45046
* make it a bit more clear in what way the ivar is consistent.Chris Lattner2007-12-121-2/+2
| | | | llvm-svn: 44945
* simplify some code, bump j. This fixes the remaining test failures.Chris Lattner2007-12-121-8/+7
| | | | llvm-svn: 44941
* unbreak the build. I'm still working on test failures.Chris Lattner2007-12-121-31/+32
| | | | llvm-svn: 44938
* split objc pieces of SemaDecl.cpp out into SemaDeclObjC.cppChris Lattner2007-12-121-0/+914
llvm-svn: 44925
OpenPOWER on IntegriCloud