| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Reclaim memory owned by ObjCForwardProtocolDecls. | Ted Kremenek | 2008-06-06 | 1 | -0/+4 |
| | | | | | llvm-svn: 52063 | ||||
| * | Implement "Destroy" and destructor for ObjCClassDecl, allowing us to reclaim ↵ | Ted Kremenek | 2008-06-06 | 1 | -0/+17 |
| | | | | | | | its memory and the memory of the Decls it owns. llvm-svn: 52059 | ||||
| * | Implement "Destroy" and destructor for ObjCProtocolDecl, allowing us to ↵ | Ted Kremenek | 2008-06-06 | 1 | -0/+25 |
| | | | | | | | reclaim its memory and the memory of the Decls it owns. llvm-svn: 52055 | ||||
| * | Because of a lack of a clear ownership role between ObjCInterfaceDecls and | Ted Kremenek | 2008-06-06 | 1 | -7/+5 |
| | | | | | | | | ObjCPropertyDecls, have TranslationUnit destroy ObjCPropertyDecls. This is a horrible hack, and must be removed eventually. llvm-svn: 52051 | ||||
| * | Initial work on additional memory collection for ObjC AST objects. We now | Ted Kremenek | 2008-06-06 | 1 | -4/+43 |
| | | | | | | | | | have Destroy methods of ObjcMethodDecl and ObjCInterfaceDecl which recursively destroy their owned Decls and Stmts. There are a few cases where it is not clear what to do (FIXMEs included in the patch). llvm-svn: 52050 | ||||
| * | Fix <rdar://problem/5987482> clang on xcode: null dereference in ↵ | Steve Naroff | 2008-06-05 | 1 | -0/+22 |
| | | | | | | | | | Sema::ActOnMemberReferenceExpr. In addition to fixing the crasher, this commit fixes further improves property lookup (by searching protocols of qualified interfaces..."NSObject <prot>"). llvm-svn: 52001 | ||||
| * | Make sure we look through categories when searching for a classes property. | Steve Naroff | 2008-06-04 | 1 | -0/+7 |
| | | | | | | | Fixes <rdar://problem/5984338> clang on xcode: property implementation must have its declaration in interface 'PBXOpenQuicklyModule' llvm-svn: 51925 | ||||
| * | fix free/delete mismatch problem in add/mergeProperties (found by valgrind) | Nuno Lopes | 2008-05-10 | 1 | -4/+2 |
| | | | | | llvm-svn: 50945 | ||||
| * | Synthesized getter/setter method declarations need not have | Fariborz Jahanian | 2008-05-07 | 1 | -2/+3 |
| | | | | | | | | an implementation. This fixes couple of failing prperty tests caused by my previous patch. llvm-svn: 50830 | ||||
| * | This patch introduces declaration of getter methods for ObjC2's | Fariborz Jahanian | 2008-05-07 | 1 | -0/+30 |
| | | | | | | | | properties. Couple of property tests will fail with this patch. Will fix them next. llvm-svn: 50818 | ||||
| * | percolate @optional/@required protocols down to ASTs for | Fariborz Jahanian | 2008-05-05 | 1 | -1/+2 |
| | | | | | | | properties declared in the protocol. llvm-svn: 50662 | ||||
| * | This patch is about merging ObjC2's properties declared in class | Fariborz Jahanian | 2008-05-02 | 1 | -0/+27 |
| | | | | | | | | protocols into class's property list and performing semantics on them for while doing so. llvm-svn: 50587 | ||||
| * | Patch to build AST for property implementation declarations and | Fariborz Jahanian | 2008-04-23 | 1 | -0/+9 |
| | | | | | | | to print declaration from its AST. llvm-svn: 50117 | ||||
| * | Allow property in base class to be implemented in a | Fariborz Jahanian | 2008-04-21 | 1 | -0/+4 |
| | | | | | | | derived class. llvm-svn: 50074 | ||||
| * | Continuation of work on ObjC2's properties. | Fariborz Jahanian | 2008-04-21 | 1 | -0/+55 |
| | | | | | | | | | Added iterators, methods to find property and categories. Use them in doing semantic analysis on property implementation declarations. Fixed typos. llvm-svn: 50050 | ||||
| * | Added property decl support for protocols. | Fariborz Jahanian | 2008-04-17 | 1 | -0/+12 |
| | | | | | | | | Added assertion if unexpected property decls are found where they don't belong. Consolidated property decl. printing by using a helper function. llvm-svn: 49862 | ||||
| * | Fixed a comment. | Fariborz Jahanian | 2008-04-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 49819 | ||||
| * | This patch adds support for declaraing properties in categories, | Fariborz Jahanian | 2008-04-16 | 1 | -2/+14 |
| | | | | | | | just as they are declared in objc classes. llvm-svn: 49817 | ||||
| * | New AST representation for each objc2's property declaration. | Fariborz Jahanian | 2008-04-14 | 1 | -1/+2 |
| | | | | | llvm-svn: 49699 | ||||
| * | AST generation for objc2's property declarations. | Fariborz Jahanian | 2008-04-11 | 1 | -12/+3 |
| | | | | | llvm-svn: 49565 | ||||
| * | Add class and super class location info to ObjCInterfaceDecl... | Steve Naroff | 2008-04-11 | 1 | -2/+3 |
| | | | | | llvm-svn: 49553 | ||||
| * | Fix a bug I introduced in my const'ification patch. | Chris Lattner | 2008-04-06 | 1 | -4/+3 |
| | | | | | llvm-svn: 49262 | ||||
| * | This patch contains these changes: | Chris Lattner | 2008-04-06 | 1 | -3/+2 |
| | | | | | | | | | | | -Renamed ContextDecl -> DeclContext -Removed DeclContext pointer from FieldDecl -EnumDecl inherits from DeclContext, instead of TagDecl Patch by Argiris Kirtzidis! llvm-svn: 49261 | ||||
| * | fix a number of const qualification bugs. | Chris Lattner | 2008-04-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 49257 | ||||
| * | Introduce ContextDecl, patch by Argiris Kirtzidis! | Chris Lattner | 2008-04-04 | 1 | -14/+28 |
| | | | | | | | | | | | | -Added ContextDecl (no TranslationUnitDecl) -ScopedDecl class has a ContextDecl member -FieldDecl class has a ContextDecl member, so that a Field or a ObjCIvar can be traced back to their RecordDecl/ObjCInterfaceDecl easily -FunctionDecl, ObjCMethodDecl, TagDecl, ObjCInterfaceDecl inherit from ContextDecl. With TagDecl as ContextDecl, enum constants have a EnumDecl as their context. -Moved Decl class to a "DeclBase.h" along with ContextDecl class -CurContext is handled by Sema llvm-svn: 49208 | ||||
| * | clean up property memory allocation to move it into the ast classes | Chris Lattner | 2008-03-17 | 1 | -0/+12 |
| | | | | | | | like the rest of the classes. llvm-svn: 48434 | ||||
| * | make property addition work list all other "add" methods. Do | Chris Lattner | 2008-03-16 | 1 | -0/+12 |
| | | | | | | | the allocation in the class, not in sema. llvm-svn: 48433 | ||||
| * | add the last two Create methods for decls, woo! | Chris Lattner | 2008-03-16 | 1 | -0/+13 |
| | | | | | llvm-svn: 48432 | ||||
| * | add two more Create methods. | Chris Lattner | 2008-03-16 | 1 | -0/+15 |
| | | | | | llvm-svn: 48428 | ||||
| * | simplify the way ObjCCategoryDecl's get their referenced protocols list | Chris Lattner | 2008-03-16 | 1 | -2/+12 |
| | | | | | | | | | specified. Previously, the ctor would allocate memory for the list and then it would get filled in later. Move the allocation+filling in to be more consistent with other stuff, e.g. the addMethods method. llvm-svn: 48427 | ||||
| * | Add create methods for ObjCCategoryDecl, ObjCForwardProtocolDecl, ObjCClassDecl. | Chris Lattner | 2008-03-16 | 1 | -0/+20 |
| | | | | | llvm-svn: 48426 | ||||
| * | minor cleanups, make getNumInstanceMethods always return unsigned. | Chris Lattner | 2008-03-16 | 1 | -3/+2 |
| | | | | | llvm-svn: 48423 | ||||
| * | Give ObjCProtocolDecl a Create method. | Chris Lattner | 2008-03-16 | 1 | -0/+8 |
| | | | | | llvm-svn: 48410 | ||||
| * | Add create methods for ObjCIvarDecl and ObjCInterfaceDecl | Chris Lattner | 2008-03-16 | 1 | -0/+14 |
| | | | | | llvm-svn: 48408 | ||||
| * | remove some dead arguments to ObjCMethodDecl. | Chris Lattner | 2008-03-16 | 1 | -5/+3 |
| | | | | | llvm-svn: 48406 | ||||
| * | Give ObjCMethodDecl a Create method. | Chris Lattner | 2008-03-16 | 1 | -0/+20 |
| | | | | | llvm-svn: 48405 | ||||
| * | Split objc decl implementation out into DeclObjC.cpp | Chris Lattner | 2008-03-16 | 1 | -0/+312 |
| llvm-svn: 48404 | |||||

