- 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
-
-
Devang Patel authored
llvm-svn: 42811
-
Devang Patel authored
llvm-svn: 42810
-
Chris Lattner authored
llvm-svn: 42809
-
Devang Patel authored
llvm-svn: 42808
-
Devang Patel authored
llvm-svn: 42807
-
Fariborz Jahanian authored
llvm-svn: 42804
-
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
llvm-svn: 42800
-
Chris Lattner authored
llvm-svn: 42799
-
Chris Lattner authored
llvm-svn: 42798
-
Chris Lattner authored
llvm-svn: 42797
-
Chris Lattner authored
llvm-svn: 42796
-
Chris Lattner authored
stuff like this: // If we don't have a comma, it is either the end of the list (a ';') or // an error, bail out. if (Tok.isNot(tok::comma)) break; instead of: // If we don't have a comma, it is either the end of the list (a ';') or // an error, bail out. if (Tok.getKind() != tok::comma) break; There is obviously no functionality change, but the code reads a bit better and is more terse. llvm-svn: 42795
-
Fariborz Jahanian authored
llvm-svn: 42794
-
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
-
Devang Patel authored
Use copy for LHS, because it is incremented using ++ operator. llvm-svn: 42792
-
Devang Patel authored
llvm-svn: 42791
-
Fariborz Jahanian authored
fatal error of category's undefined interface. llvm-svn: 42790
-
Steve Naroff authored
Remove 2 protocol related actions from MinimalActions (protocols shouldn't be recognized as types). llvm-svn: 42777
-
Fariborz Jahanian authored
Protocols are now sorted and made unique in the list. Enhanced pretty printer for @interface (So, I can see the protocol list). llvm-svn: 42776
-
- Oct 08, 2007
-
-
Steve Naroff authored
Removed unused instance variable from FieldDecl. llvm-svn: 42773
-
Chris Lattner authored
likewise block and param. Reorder the layout of the Decl kind enum so that the inheritance tree is reflected in the ordering. This allows trivial range comparisons to determine whether something is an instance of some abstract class, making classof faster. llvm-svn: 42772
-
Chris Lattner authored
llvm-svn: 42771
-
Chris Lattner authored
llvm-svn: 42770
-
Steve Naroff authored
Convert Selector Maps/Sets to use stronger typing (now that we have DenseMapInfo in IdentifierTable.h). llvm-svn: 42767
-
Devang Patel authored
llvm-svn: 42766
-
Fariborz Jahanian authored
(minimal printing), Derive ObjcClassDecl from Decl. Ted may want to take note of the change I made to CFGRecStmtDeclVisitor.h llvm-svn: 42764
-
Fariborz Jahanian authored
ObjcProtocolDecl is now derived from ScopedDecl. ObjcForwardProtocolDecl from Decl. ObjcImplementationDecl fom NamedDecl. llvm-svn: 42756
-
Fariborz Jahanian authored
llvm-svn: 42754
-
- Oct 07, 2007
-
-
Chris Lattner authored
llvm-svn: 42731
-
Chris Lattner authored
llvm-svn: 42730
-
Chris Lattner authored
llvm-svn: 42728
-
Chris Lattner authored
Now instead of IdentifierInfo knowing anything about MacroInfo, only the preprocessor knows. This makes MacroInfo truly private to the Lex library (and its direct clients) instead of being accessed in the Basic library. llvm-svn: 42727
-
Chris Lattner authored
llvm-svn: 42726
-
Chris Lattner authored
call to getMacroInfo to call it. llvm-svn: 42725
-
Chris Lattner authored
llvm-svn: 42724
-
Chris Lattner authored
(because all bitfields now fit in 32 bits). This shrinks the identifier table for carbon.h from 1634428 to 1451424 bytes (12%) and has no impact on compile time. llvm-svn: 42723
-