Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7489889dd4e0fb5cd4b4176c59283da3b217f14e
/
lib
/
Lex
/
PPCaching.cpp
b8db7cd
Optimize the preprocessor's handling of the __import_module__
by Douglas Gregor
· 13 years ago
8951bfd
Remove the check for repeated tok::eofs, we are not supposed to go past eof so this code is
by Argyrios Kyrtzidis
· 14 years ago
03569ea
If we are past tok::eof and in caching lex mode, avoid caching repeated tok::eofs.
by Argyrios Kyrtzidis
· 14 years ago
63dae6e
we do in fact have to cache the EOF token returned by the preprocessor.
by Chris Lattner
· 14 years ago
39d6711
When placing an annotation token over an existing annotation token, make sure that the new token's range extends to the end of the old token. Assert that in AnnotateCachedTokens. Fixes PR6248.
by Sebastian Redl
· 15 years ago
eaf75f4
Remove an overly-eager assertion when replacing tokens with an
by Douglas Gregor
· 15 years ago
1eb4433
Remove tabs, and whitespace cleanups.
by Mike Stump
· 15 years ago
1b68f71
fix segfault (because of erasing after the vector boundaries) when the cached token position is at the end
by Nuno Lopes
· 15 years ago
47246be
This change refactors some of the low-level lexer interfaces a bit.
by Chris Lattner
· 16 years ago
fad03b2
Remove Preprocessor::CacheTokens boolean data member. The same functionality can be provided by using Preprocessor::isBacktrackEnabled().
by Argyrios Kyrtzidis
· 16 years ago
174da89
Use PushIncludeMacroStack() instead of manually manipulating the include stack.
by Ted Kremenek
· 16 years ago
3604e38
Introduce annotation tokens, a special kind of token, created and used only by the parser to replace a group of tokens with a single token encoding semantic information.
by Argyrios Kyrtzidis
· 16 years ago
02e7e74
Line endings: CRLF -> LF
by Argyrios Kyrtzidis
· 16 years ago
ed5c386
Rename Preprocessor::DisableBacktrack -> Preprocessor::CommitBacktrackedTokens.
by Argyrios Kyrtzidis
· 16 years ago
bff73f7
Change line endings: CRLF -> LF
by Argyrios Kyrtzidis
· 16 years ago
a9e274c
Allow nested backtracks.
by Argyrios Kyrtzidis
· 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