- Oct 09, 2007
-
-
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
-
Chris Lattner authored
moves the MacroInfo pointer to a side hash table (which currently lives in IdentifierTable.cpp). This removes a pointer from Identifier info, but doesn't shrink it, as it requires a new bit be added. This strange approach with the 'hasmacro' bit is needed to not lose preprocessor performance. llvm-svn: 42722
-
Chris Lattner authored
This fixes strange assertions that just started triggering. llvm-svn: 42721
-
Chris Lattner authored
llvm-svn: 42720
-
Chris Lattner authored
fit in 32-bits, shrinking IdentifierInfo by a word. This shrinks the total size of the identifier pool from 1817264 to 1634428 bytes (11%) on carbon.h. llvm-svn: 42719
-
Chris Lattner authored
llvm-svn: 42718
-
Chris Lattner authored
number of arguments now and does the right thing, but the nullary/unary accessors are preserved as convenience functions. This allows us to slightly simplify clients. llvm-svn: 42716
-