- Oct 10, 2007
-
-
Steve Naroff authored
Make sure methods with no return type default to "id". This fixes a crasher in Sema::MatchTwoMethodDeclarations(), identified by selector-overload.m (just added). Added Action::ActOnTranslationUnitScope() and renamed Action::PopScope to ActOnPopScope. Added a Translation Unit Scope instance variable to Sema (will be very useful to ObjC-related actions, since ObjC declarations are always file-scoped). llvm-svn: 42817
-
- Oct 09, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 42803
-
Chris Lattner authored
llvm-svn: 42802
-
Fariborz Jahanian authored
DenseMap to keep track of such declarations and derive ObjcProtocolDecl directyly from NamedScope. llvm-svn: 42801
-
Chris Lattner authored
ParseFunctionDefinition so that ActOnFunctionDefBody is always called if ActOnStartOfFunctionDef is called. This fixes a crash reported by Nuno Lopes. llvm-svn: 42793
-
Fariborz Jahanian authored
fatal error of category's undefined interface. llvm-svn: 42790
-
- Oct 08, 2007
-
-
Steve Naroff authored
Convert Selector Maps/Sets to use stronger typing (now that we have DenseMapInfo in IdentifierTable.h). llvm-svn: 42767
-
Fariborz Jahanian authored
llvm-svn: 42754
-
- Oct 07, 2007
-
-
Chris Lattner authored
llvm-svn: 42730
-
Chris Lattner authored
This fixes strange assertions that just started triggering. llvm-svn: 42721
-
Chris Lattner authored
llvm-svn: 42715
-
Chris Lattner authored
llvm-svn: 42714
-
Chris Lattner authored
llvm-svn: 42711
-
Chris Lattner authored
NamedDecl is a Decl that has an IdentifierInfo (for example, ScopedDecl), but not ObjcMethodDecl. Simplify some code in ActOnAddMethodsToObjcDecl, by doing the cast from DeclTy to Decl at the start of the method. llvm-svn: 42710
-
- Oct 06, 2007
-
-
Chris Lattner authored
llvm-svn: 42706
-
Chris Lattner authored
llvm-svn: 42705
-
- Oct 05, 2007
-
-
Fariborz Jahanian authored
objective-c types. It also removes use of Scope* parameter in getObjCProtocolDecl. llvm-svn: 42649
-
Chris Lattner authored
Selector's instead of requiring void* to be used. I converted one use of DenseSet<void*> over to use DenseSet<Selector> but the others should change as well. llvm-svn: 42645
-
Fariborz Jahanian authored
2) Use of the new DenseSet<t> abstractions instead of DenseMap<t,char>. llvm-svn: 42641
-
- Oct 04, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 42611
-
Fariborz Jahanian authored
llvm-svn: 42601
-
Fariborz Jahanian authored
fixed consequence of these changes in clang. llvm-svn: 42600
-
- Oct 03, 2007
-
-
Steve Naroff authored
Finish renaming ObjC declaration actions. Add comments. Switch to new indentation style for the Action class. Since many actions take many arguments, the new style will... - make it easier to add/remove arguments without messing up the indentation... - make it easier to add comments to each argument (see ActOnMethodDeclaration for an example)... - in general, just makes it easier to see what is being passed. The rest of Actions will be converted "lazily"...there is no immediate need to hack all the existing methods. llvm-svn: 42587
-
Fariborz Jahanian authored
getter names. llvm-svn: 42577
-
Steve Naroff authored
Rename several ObjC action methods to use the "ActOn" prefix (still a few more to do). Remove Action::ObjCStartCategoryInterface/ObjCFinishInterface - they are unused. . llvm-svn: 42559
-
Fariborz Jahanian authored
and their accessors in a variety of objective-c classes. llvm-svn: 42555
-
- Oct 02, 2007
-
-
Steve Naroff authored
Remove Action::ActOnImpleIvarVsClassIvars(), it is only called by Sema (not Parser). Add Sema::CheckImplementationIvars() to replace the previous action. llvm-svn: 42553
-
Steve Naroff authored
Rename ObjcInterfaceDecl::getIsForwardDecl() to isForwardDecl(). Rename ObjcProtocolDecl::getIsForwardProtoDecl() to isForwardDecl(). Rename ObjcInterfaceDecl::setIsForwardDecl() to setForwardDecl(). Rename ObjcProtocolDecl::setIsForwardProtoDecl() to setForwardDecl(). Two reasons: #1: boolean predicates should start with "is". #2: Since these two sets of methods represent the same concept, they should be named the same (polymorphism is good:-) llvm-svn: 42545
-
Fariborz Jahanian authored
Now, I also warn those class/categories which are incomplete because of this. llvm-svn: 42544
-
Steve Naroff authored
- Add ObjcInterfaceDecl::lookupInstanceMethod(), lookupClassMethod(). - Add ObjcMessageExpr::getSelector(), getClassName(). - Change Sema::getObjCInterfaceDecl() to simply take an IdentifierInfo (no Scope needed). - Remove FIXME for printing ObjCMessageExpr's. llvm-svn: 42543
-
Fariborz Jahanian authored
Ted may want to take a look at the change I made at FGRecStmtDeclVisitor.h. llvm-svn: 42535
-
Fariborz Jahanian authored
unimplemented methods in category implementation. llvm-svn: 42531
-
- Oct 01, 2007
-
-
Steve Naroff authored
Move ObjC decls to DeclObjC.h, a new AST header. Update clients and add to project file. llvm-svn: 42494
-
Fariborz Jahanian authored
September 30, 2007 12:36:58 AM PDT and September 30, 2007 12:50:05 AM PDT llvm-svn: 42490
-
- Sep 30, 2007
-
-
Chris Lattner authored
llvm-svn: 42479
-
Chris Lattner authored
llvm-svn: 42477
-
- Sep 29, 2007
-
-
Fariborz Jahanian authored
September 28, 2007 4:39:24 PM PDT Please let me know if I missed anything. llvm-svn: 42473
-
Fariborz Jahanian authored
Avoiding passing a Sema object to these utility functions. llvm-svn: 42472
-
Fariborz Jahanian authored
previous patch to do the same for class name lookup using a hash table. llvm-svn: 42471
-
Fariborz Jahanian authored
There is still an issue if doing ScopedLookup is an overkill and we can just access the decl using the identifier. llvm-svn: 42463
-