- Nov 20, 2008
-
-
Dan Gohman authored
llvm-svn: 59746
-
Devang Patel authored
llvm-svn: 59745
-
Ted Kremenek authored
- Move PTHLexer::GetToken() to be inside PTHLexer.cpp. - When lexing in raw mode, null out identifiers. llvm-svn: 59744
-
Fariborz Jahanian authored
llvm-svn: 59743
-
Dan Gohman authored
llvm-svn: 59741
-
Fariborz Jahanian authored
llvm-svn: 59740
-
Oscar Fuentes authored
llvm-svn: 59739
-
Fariborz Jahanian authored
to static function. Added comments. llvm-svn: 59738
-
Gordon Henriksen authored
llvm-svn: 59737
-
Ted Kremenek authored
llvm-svn: 59736
-
Douglas Gregor authored
llvm-svn: 59735
-
Scott Michel authored
(a) Remove moved file (SPUAsmPrinter.cpp) to make svn happy. (b) Remove truncated stores that will never be used. (c) Add initial support for __muldi3 as a libcall. llvm-svn: 59734
-
Ted Kremenek authored
- Rename 'CurToken' and 'LastToken' to 'CurTokenIdx' and 'LastTokenIdx' respectively. - Add helper methods GetToken(), AdvanceToken(), AtLastToken() to abstract away details of the token stream. This also allows us to easily replace their implementation later. llvm-svn: 59733
-
Douglas Gregor authored
expression (smart_ptr->mem). llvm-svn: 59732
-
Ted Kremenek authored
llvm-svn: 59731
-
Ted Kremenek authored
Output 'ANALYZE' messages to standard error. This should address the intermixing of 'ANALYZE' and the other diagnostics the clang driver emits to standard error. llvm-svn: 59730
-
Douglas Gregor authored
llvm-svn: 59729
-
Duncan Sands authored
llvm-svn: 59727
-
Daniel Dunbar authored
- This is fairly gross but although the code is conceptually the same, introducting the union causes gcc 4.2 on x86 (darwin, if that matters) to pessimize LexTokenInternal which is critical to our preprocessor performance. This speeds up -Eonly lexing of Cocoa.h by ~4.7% in my timings and reduces the code size of LexTokenInternal by 8.6%. llvm-svn: 59725
-
Ted Kremenek authored
Rewrote PTHLexer::Lex by digging through the sources of Lexer again. Now we can do basic macro expansion using the PTHLexer. llvm-svn: 59724
-
Ted Kremenek authored
(temporary hack) to test the PTHLexer is that whenever we would create a Lexer object we instead raw lex a memory buffer first and then use the PTHLexer. This logic exists only to driver the PTHLexer and will be removed/changed in the future. Note that the regular path using normal Lexer objects is what is used by default. llvm-svn: 59723
-
Ted Kremenek authored
Added virtual method 'IndirectLex' to PTHLexer. This will likely get removed in the future when we correctly handle #include processing. llvm-svn: 59722
-
Ted Kremenek authored
Preprocessor::isCurrentLexer() now takes a PreprocessorLexer* argument to match against CurPPLexer instead of CurLexer. llvm-svn: 59721
-
Mon P Wang authored
llvm-svn: 59720
-
Bill Wendling authored
llvm-svn: 59718
-
Bill Wendling authored
llvm-svn: 59717
-
Chris Lattner authored
llvm-svn: 59716
-
Chris Lattner authored
llvm-svn: 59715
-
Chris Lattner authored
llvm-svn: 59714
-
Chris Lattner authored
llvm-svn: 59713
-
Chris Lattner authored
llvm-svn: 59712
-
Chris Lattner authored
of doing the lookup_decl, the hash lookup is cheap. Also, typeid doesn't happen enough in real world code to worry about it. I'd like to eventually get rid of KnownFunctionIDs from Sema also, but today is not that day. llvm-svn: 59711
-
Chris Lattner authored
looking up the "std" identifier is trivial. Just do it, particularly since this is only done if the namespace hasn't already been looked up. llvm-svn: 59710
-
Chris Lattner authored
used in one cold place. llvm-svn: 59709
-
Chris Lattner authored
just check for it when needed. It doesn't incur real cost in any hot paths. llvm-svn: 59708
-
Scott Michel authored
promote), fix signed conversion of indexed offsets. llvm-svn: 59707
-
Chris Lattner authored
from Sebastian to enforce that a literal string is passed in, and use this to avoid having to call strlen on it. llvm-svn: 59706
-
Nick Lewycky authored
llvm-svn: 59705
-
Scott Michel authored
llvm-svn: 59704
-
Scott Michel authored
llvm-svn: 59703
-