- Jun 05, 2008
-
-
Steve Naroff authored
llvm-svn: 52006
-
rdar://problem/5986833Steve Naroff authored
- Changed Sema::ObjCActOnStartOfMethodDef() to more accurately type "self" in factory methods. - Changed Sema::ActOnInstanceMessage() to use the new type to restrict the lookup. llvm-svn: 52005
-
Steve Naroff authored
llvm-svn: 51976
-
- May 23, 2008
-
-
Steve Naroff authored
Also added a FIXME related to how we represent @properties in the ObjCInterfaceDecl AST. llvm-svn: 51450
-
- May 07, 2008
-
-
Fariborz Jahanian authored
an implementation. This fixes couple of failing prperty tests caused by my previous patch. llvm-svn: 50830
-
Fariborz Jahanian authored
properties. Couple of property tests will fail with this patch. Will fix them next. llvm-svn: 50818
-
- May 06, 2008
-
-
Fariborz Jahanian authored
(was IdentifierInfo * before). This will make method declartations whole lot easier. llvm-svn: 50747
-
- May 05, 2008
-
-
Fariborz Jahanian authored
properties declared in the protocol. llvm-svn: 50662
-
- May 02, 2008
-
-
Fariborz Jahanian authored
protocols into class's property list and performing semantics on them for while doing so. llvm-svn: 50587
-
- May 01, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 50532
-
Fariborz Jahanian authored
llvm-svn: 50508
-
- Apr 27, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 50320
-
- Apr 24, 2008
-
-
Fariborz Jahanian authored
its super class. This patch is incomplete. llvm-svn: 50228
-
- Apr 23, 2008
-
-
Fariborz Jahanian authored
to print declaration from its AST. llvm-svn: 50117
-
- Apr 21, 2008
-
-
Fariborz Jahanian authored
ivar of same name. Better diagnostics to bring home this point. llvm-svn: 50065
-
Fariborz Jahanian authored
More property semantics checking. First test case for ObjC2's property implementation. llvm-svn: 50057
-
Fariborz Jahanian authored
Added iterators, methods to find property and categories. Use them in doing semantic analysis on property implementation declarations. Fixed typos. llvm-svn: 50050
-
- Apr 18, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 49883
-
Fariborz Jahanian authored
Mostly semantic checking in this patch. This is on going and incomplete. llvm-svn: 49882
-
- Apr 17, 2008
-
-
Fariborz Jahanian authored
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
-
- Apr 16, 2008
-
-
Fariborz Jahanian authored
just as they are declared in objc classes. llvm-svn: 49817
-
- Apr 15, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 49699
-
- Apr 12, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 49565
-
- Apr 11, 2008
-
-
Steve Naroff authored
llvm-svn: 49553
-
Chris Lattner authored
shadowing, instead of threading it through the AST. This patch contributed by Argiris Kirtzidis! llvm-svn: 49520
-
- Apr 10, 2008
-
-
Chris Lattner authored
argument handling. I'll fix up the c89 (void) thing next. llvm-svn: 49459
-
- Apr 08, 2008
-
-
Chris Lattner authored
interaction for function parameters, fixing PR2046. Patch by Doug Gregor! llvm-svn: 49369
-
- Apr 07, 2008
-
-
Chris Lattner authored
llvm-svn: 49295
-
- Apr 06, 2008
-
-
Chris Lattner authored
-Renamed ContextDecl -> DeclContext -Removed DeclContext pointer from FieldDecl -EnumDecl inherits from DeclContext, instead of TagDecl Patch by Argiris Kirtzidis! llvm-svn: 49261
-
- Apr 04, 2008
-
-
Chris Lattner authored
-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
-
- Apr 02, 2008
-
-
Steve Naroff authored
Change ObjCInterfaceDecl to inherit from NamedDecl (not TypeDecl). While ObjCInterfaceDecl is arguably a TypeDecl, it isn't a ScopedDecl. Since TypeDecl's are scoped, it makes sense to simply treat them as NamedDecl's. I could have fiddled a bit more with the hierarchy (in terms of creating a non-scoped TypeDecl), however this probably isn't worth the effort. I also finished unifying access to scope decl change by converting Sema::getObjCInterfaceDecl() to use Sema::LookupDecl(). This is much cleaner now:-) llvm-svn: 49107
-
Steve Naroff authored
Two changes to Sema::LookupDecl() interface. (1) Remove IdLoc (it's never used). (2) Add a bool to enable/disable lazy builtin creaation (defaults to true). This enables us to use LookupDecl() in Sema::isTypeName(), which is also part of this commit. To make this work, I changed isTypeName() to be a non-const member function. I'm not happy with this, however I fiddled with making LookupDecl() and friends const and it got ugly pretty quickly. We can certainly add it back if/when someone has time to fiddle with it. For now, I thought this simplification was more important than retaining the const-ness. llvm-svn: 49087
-
Steve Naroff authored
Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to inherit from NamedDecl, instead of ScopedDecl). - Added a DenseMap to associate an IdentifierInfo with the ObjCCompatibleAliasDecl. - Renamed LookupScopedDecl->LookupDecl and changed it's return type to Decl. Also added lookup for ObjCCompatibleAliasDecl's. - Removed Sema::LookupInterfaceDecl(). Converted clients to used LookupDecl(). - Some minor indentation changes. Will deal with ObjCInterfaceDecl and getObjCInterfaceDecl() in a separate commit... llvm-svn: 49058
-
- Mar 17, 2008
-
-
Chris Lattner authored
like the rest of the classes. llvm-svn: 48434
-
- Mar 16, 2008
-
-
Chris Lattner authored
the allocation in the class, not in sema. llvm-svn: 48433
-
Chris Lattner authored
llvm-svn: 48432
-
Chris Lattner authored
llvm-svn: 48428
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 48426
-
Chris Lattner authored
llvm-svn: 48423
-