- Oct 10, 2007
-
-
Bill Wendling authored
llvm-svn: 42823
-
Dale Johannesen authored
Surprisingly complicated. Adds getTargetNode for 2 outputs, no inputs (missing). llvm-svn: 42822
-
Evan Cheng authored
llvm-svn: 42821
-
Evan Cheng authored
Fix an extremely stupid bug that prevented first round of coalescing (physical registers only) from happening. llvm-svn: 42820
-
Chris Lattner authored
llvm-svn: 42819
-
Chris Lattner authored
predefined macros. Previously, these were handled by the driver, now they are handled by the preprocessor. Some fallout of this: 1. Instead of preprocessing two buffers (the predefines, then the main source file) we now start preprocessing the main source file and inject the predefines as a "psuedo #include" from the main source file. 2. #1 allows us to nuke the Lexer::IsMainFile flag and simplify Preprocessor::isInPrimaryFile. 3. The driver doesn't have to know about standard #defines, the preprocessor knows, which is nice for people wanting to define their own drivers. 4. This allows us to put normal tokens in the predefine buffer, for example a definition for __builtin_va_list that is target-specific, and a typedef for id in objc. llvm-svn: 42818
-
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
-
-
Ted Kremenek authored
ADT/DenseSet.h ADT/ImmutableMap.h ADT/ImmutableSet.h llvm-svn: 42816
-
Chris Lattner authored
llvm-svn: 42815
-
Devang Patel authored
llvm-svn: 42814
-
Ted Kremenek authored
implemented on top of a functional AVL tree. The AVL balancing code is inspired by the OCaml implementation of Map, which also uses a functional AVL tree. Documentation is currently limited and cleanups are planned, but this code compiles and has been tested. llvm-svn: 42813
-
Devang Patel authored
Do not walk invalid iterator. llvm-svn: 42812
-
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
-
Devang Patel authored
llvm-svn: 42806
-
Dan Gohman authored
llvm-svn: 42805
-
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
-
Chris Lattner authored
llvm-svn: 42789
-
Dan Gohman authored
llvm-svn: 42788
-
Dan Gohman authored
llvm-svn: 42787
-
Dan Gohman authored
llvm-svn: 42786
-
Dan Gohman authored
llvm-svn: 42785
-
Dan Gohman authored
instead of four. llvm-svn: 42784
-