Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
2b2453a7d8fe732561795431f39ceb2b2a832d84
/
lib
/
Lex
/
PPLexerChange.cpp
2b2453a
this massive patch introduces a simple new abstraction: it makes
by Chris Lattner
· 16 years ago
6aa6ac4
Remove old PTH token-generation test harness.
by Ted Kremenek
· 16 years ago
59d08cb
PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No big functionality change.
by Ted Kremenek
· 16 years ago
bc0f6bc
PreprocessorLexer (and subclasses):
by Ted Kremenek
· 16 years ago
6137dc9
Preprocessor:
by Ted Kremenek
· 16 years ago
82a500b
PTHLexer now owns the Token vector.
by Ted Kremenek
· 16 years ago
b93efa3
Reenable the default lexer.
by Ted Kremenek
· 16 years ago
d5a8f0b
When creating the raw tokens for PTHLexer, make sure the token representing the file to include is checked for being an identifier.
by Ted Kremenek
· 16 years ago
c840f0c
When creating raw tokens for the PTHLexer specially handle angled strings for #include directives.
by Ted Kremenek
· 16 years ago
81d24e1
Rename IsNonPragmaNonMacroLexer to IsFileLexer.
by Ted Kremenek
· 16 years ago
15ba2af
Add ugly "test harness" for PTHLexer that is not enabled by default. The
by Ted Kremenek
· 16 years ago
a751217
Make FIXME a hard assertion.
by Ted Kremenek
· 16 years ago
68e48e4
Preprocessor::getCurrentFileLexer() now returns a PreprocessorLexer* instead of
by Ted Kremenek
· 16 years ago
1a53157
Move more cases of using 'CurLexer' to 'CurPPLexer'.
by Ted Kremenek
· 16 years ago
41938c8
- Move static function IsNonPragmaNonMacroLexer into Preprocessor.h.
by Ted Kremenek
· 16 years ago
2df37b8
Revert 59574 (caused tests to fail).
by Ted Kremenek
· 16 years ago
0a36264
- Move static function IsNonPragmaNonMacroLexer into Preprocessor.h.
by Ted Kremenek
· 16 years ago
4b39108
- Add Lexer::isPragma() accessor for clients of Lexer that aren't friends.
by Ted Kremenek
· 16 years ago
9c1b750
- Add 'CurPPLexer' to Preprocessor to keep track of the current
by Ted Kremenek
· 16 years ago
caaa7df
Using llvm::OwningPtr<> for CurLexer and CurTokenLexer. This makes both the ownership semantics of these objects explicit within the Preprocessor and also tightens up the code (explicit deletes not needed).
by Ted Kremenek
· 16 years ago
ed04c4c
Use PushIncludeMacroStack/PopMacroStack instead of manually pushing/popping from IncludeMacroStack. This is both cleaner and makes the include stack transparently extensible.
by Ted Kremenek
· 16 years ago
9d72851
Rename Characteristic_t to CharacteristicKind
by Chris Lattner
· 16 years ago
9e6293d
Change FormTokenWithChars to take the token kind to form, since all clients
by Chris Lattner
· 16 years ago
0b9e736
clean up a bunch of fixme's I added, by moving
by Chris Lattner
· 16 years ago
7218183
Fix the rest of rdar://6243860 hopefully. This requires changing FileIDInfo
by Chris Lattner
· 16 years ago
acc5f3e
More #include cleaning
by Daniel Dunbar
· 16 years ago
03db1b3
Allow the preprocessor to cache the lexed tokens, so that we can do efficient lookahead and backtracking.
by Argyrios Kyrtzidis
· 16 years ago
63cf923
Convert CRLF -> LF line endings.
by Argyrios Kyrtzidis
· 16 years ago
9e0ed0b
Add Preprocessor::LookNext method, which implements an efficient way to 'take a peek' at the next token without consuming it.
by Argyrios Kyrtzidis
· 16 years ago
ea301e1
Avoid overflowing buffer, patch by Algeris Kirtzidis!
by Chris Lattner
· 16 years ago
bda0b62
Make a major restructuring of the clang tree: introduce a top-level
by Chris Lattner
· 17 years ago
[Renamed from Lex/PPLexerChange.cpp]
5f9e24c
add comments about some simple optimizations that may become
by Chris Lattner
· 17 years ago
6b88450
implement simple support for arbitrary token lookahead. Change the
by Chris Lattner
· 17 years ago
7d39d74
improve comment.
by Chris Lattner
· 17 years ago
1072509
move PP::LookupFile from PPLexerChange -> PPDirectives.cpp
by Chris Lattner
· 17 years ago
8c32b1a
Move a bunch more code out of Preprocessor.cpp into PPLexerChange.cpp
by Chris Lattner
· 17 years ago