- Oct 12, 2008
-
-
Chris Lattner authored
llvm-svn: 57423
-
Chris Lattner authored
llvm-svn: 57422
-
Argyrios Kyrtzidis authored
llvm-svn: 57420
-
Dale Johannesen authored
llvm-svn: 57418
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 57417
-
Chris Lattner authored
llvm-svn: 57416
-
Argyrios Kyrtzidis authored
When the static type on the Decl side is a subclass of DeclContext the compiler will use a "inlinable" static_cast, instead of always using an out-of-line function call. Note, though, that the isa<> check still uses an out-of-line function call. llvm-svn: 57415
-
Anton Korobeynikov authored
llvm-svn: 57414
-
Owen Anderson authored
llvm-svn: 57413
-
Owen Anderson authored
llvm-svn: 57412
-
Owen Anderson authored
llvm-svn: 57411
-
Dale Johannesen authored
match gcc. Helps with the testsuite. llvm-svn: 57410
-
Chris Lattner authored
wraps comments in <i> tags. Extend rewrite tokens to support this minimal functionality. llvm-svn: 57409
-
Owen Anderson authored
llvm-svn: 57408
-
Chris Lattner authored
and lets a client iterate over it. llvm-svn: 57407
-
Chris Lattner authored
playground to experiment with some new rewriter approaches. For now it is probably the most complex version of 'cat' ever invented. llvm-svn: 57406
-
Chris Lattner authored
Rename -dumptokens to -dump-tokens. llvm-svn: 57405
-
Chris Lattner authored
were setting a kind and then forming it. This is just a minor API cleanup, no functionality change. llvm-svn: 57404
-
Chris Lattner authored
unterminated. llvm-svn: 57403
-
Chris Lattner authored
keep comment mode, instead of returning false. This matches SkipWhitespace. llvm-svn: 57402
-
Chris Lattner authored
even whitespace, as tokens from the file. This is enabled with L->SetKeepWhitespaceMode(true) on a raw lexer. In this mode, you too can use clang as a really complex version of 'cat' with code like this: Lexer RawLex(SourceLocation::getFileLoc(SM.getMainFileID(), 0), PP.getLangOptions(), File.first, File.second); RawLex.SetKeepWhitespaceMode(true); Token RawTok; RawLex.LexFromRawLexer(RawTok); while (RawTok.isNot(tok::eof)) { std::cout << PP.getSpelling(RawTok); RawLex.LexFromRawLexer(RawTok); } This will emit exactly the input file, with no canonicalization or other translation. Realistic clients actually do something with the tokens of course :) llvm-svn: 57401
-
Owen Anderson authored
data-based ones. Just be conservative when analyzing control-based escapes. llvm-svn: 57400
-
Chris Lattner authored
llvm-svn: 57399
-
Chris Lattner authored
llvm-svn: 57398
-
Chris Lattner authored
ivar. llvm-svn: 57397
-
Chris Lattner authored
llvm-svn: 57396
-
Chris Lattner authored
same we we do an unterminated string or character literal. This makes it so we can guarantee that the lexer never calls into the preprocessor (which would be suicide for a raw lexer). llvm-svn: 57395
-
Chris Lattner authored
llvm-svn: 57394
-
Chris Lattner authored
using LexRawToken, create one and use LexFromRawLexer. This avoids twiddling the RawLexer flag around and simplifies some code (even speeding raw lexing up a tiny bit). This change also improves the token paster to use a Lexer on the stack instead of new/deleting it. llvm-svn: 57393
-
Chris Lattner authored
llvm-svn: 57392
-
Chris Lattner authored
llvm-svn: 57391
-
Chris Lattner authored
llvm-svn: 57390
-
Chris Lattner authored
llvm-svn: 57389
-
Chris Lattner authored
llvm-svn: 57388
-
Chris Lattner authored
a couple other cases for clarity, but shouldn't affect correctness. Patch by Eli Friedman! llvm-svn: 57387
-
Chris Lattner authored
llvm-svn: 57386
-
Chris Lattner authored
parameters instead of raw Constants. This prevents the constants from being selected by the isel pass, fixing PR2735. llvm-svn: 57385
-
Chris Lattner authored
llvm-svn: 57384
-
Chris Lattner authored
llvm-svn: 57383
-
- Oct 11, 2008
-
-
Daniel Dunbar authored
- DbgStopPointInst - Attributes (needs filling in) llvm-svn: 57382
-