Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
3cbfe2c4159e0a219ae660d50625c013aa4afbd0
/
lib
/
Lex
/
Lexer.cpp
3cbfe2c
Split the DiagnosticInfo class into two disjoint classes:
by Chris Lattner
· 16 years ago
41938c8
- Move static function IsNonPragmaNonMacroLexer into Preprocessor.h.
by Ted Kremenek
· 16 years ago
3692b09
Convert the lexer and start converting the PP over to using canonical Diag methods.
by Chris Lattner
· 16 years ago
d6a2e7d
Move some diagnostic handling to PreprocessorLexer.
by Ted Kremenek
· 16 years ago
6db72c0
Remove Lexer::LexIncludeFilename.
by Ted Kremenek
· 16 years ago
9e6293d
Change FormTokenWithChars to take the token kind to form, since all clients
by Chris Lattner
· 16 years ago
31f0eca
When in keep whitespace mode, make sure to return block comments that are
by Chris Lattner
· 16 years ago
2d38189
Change SkipBlockComment and SkipBCPLComment to return true when in
by Chris Lattner
· 16 years ago
d88dc48
Add a new mode to the lexer which enables it to return all characters,
by Chris Lattner
· 16 years ago
f744d13
Fix a couple more places that poke KeepCommentMode unnecesarily.
by Chris Lattner
· 16 years ago
fa95a01
add a new inKeepCommentMode() accessor to abstract the KeepCommentMode ivar.
by Chris Lattner
· 16 years ago
a2c7ad9
fix misleading comment.
by Chris Lattner
· 16 years ago
0af5742
Simplify raw mode lexing by treating an unterminate /**/ comment the
by Chris Lattner
· 16 years ago
8527b71
add a comment.
by Chris Lattner
· 16 years ago
590f0cc
Change how raw lexers are handled: instead of creating them and then
by Chris Lattner
· 16 years ago
33d34a6
silence some release-assert warnings.
by Chris Lattner
· 16 years ago
7a4f004
improve a comment.
by Chris Lattner
· 16 years ago
662e8b5
Change Parser & Sema to use interned "super" for comparions.
by Daniel Dunbar
· 16 years ago
5253c7f
Fix typo
by Nate Begeman
· 16 years ago
b25e5d7
don't diagnose empty source files, thanks Neil!
by Chris Lattner
· 16 years ago
8fa3078
don't read off the front of the buffer. Thanks to Sam for pointing this out.
by Chris Lattner
· 16 years ago
bda0b62
Make a major restructuring of the clang tree: introduce a top-level
by Chris Lattner
· 16 years ago
[Renamed from Lex/Lexer.cpp]
146ccd4
Fix PR2090, a typo in digraph processing.
by Chris Lattner
· 16 years ago
3a57077
simplify the lexer a bit, pulling stuff out of the default case.
by Chris Lattner
· 17 years ago
0bc735f
Don't attribute in file headers anymore. See llvmdev for the
by Chris Lattner
· 17 years ago
53702cd
add a helper method.
by Chris Lattner
· 17 years ago
0750618
start partitioning the diagnostics into two classes: those
by Chris Lattner
· 17 years ago
95c062b
Silenced a couple of VC++ warnings.
by Hartmut Kaiser
· 17 years ago
9a61194
Move token length calculation out of the diagnostics machinery into
by Chris Lattner
· 17 years ago
168ae2d
Add a new type of lexer: a raw lexer, which does not require a preprocessor
by Chris Lattner
· 17 years ago
53b0dab
Make a significant change to invert the control flow handling
by Chris Lattner
· 17 years ago
22f6bbc
Switch lexer/pp over to new Token::is/isNot api
by Chris Lattner
· 17 years ago
dbf388b
implement the Token class in the Lexer.cpp file instead of IdentifierInfo.cpp
by Chris Lattner
· 17 years ago
b812814
Eliminate some VC++ warnings, patch by Hartmut Kaiser!
by Chris Lattner
· 17 years ago
d8e3083
Use a smallstring instead of an std::string in FileChanged to avoid some malloc traffic.
by Chris Lattner
· 17 years ago
448cec4
Change hte lexer to start a start pointer to the underlying
by Chris Lattner
· 17 years ago
409a036
split the slow path out of Lexer::getSourceLocation and do not let the
by Chris Lattner
· 17 years ago
8133cfc
avoid recursion between SkipBCPLComment and SkipWhitespace. In cases like this:
by Chris Lattner
· 17 years ago
8146b68
Fix a lexer bug where we incorrectly rejected int i = /*/ */ 1;
by Chris Lattner
· 17 years ago
d217773
At one point there were going to be lexer and parser tokens.
by Chris Lattner
· 17 years ago
25bdb51
simplify the lexer ctor to take a SLoc instead of a sloc and a redundant buffer*.
by Chris Lattner
· 17 years ago
9dc1f53
Reimplement SourceLocation. Instead of having a
by Chris Lattner
· 17 years ago
5f016e2
Stage two of getting CFE top correct.
by Reid Spencer
· 17 years ago