summaryrefslogtreecommitdiffstats
path: root/clang/Sema/SemaDeclObjC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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