Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
41c3ae108a54437f27fa99ddcb9bafcf113bde80
/
lib
/
Lex
/
PPDirectives.cpp
41c3ae1
As a performance optimization, don't bother calling MacroInfo::isIdenticalTo
by Chris Lattner
· 16 years ago
e5680f3
PTH:
by Ted Kremenek
· 16 years ago
0ea7672
Preprocessor: Allocate MacroInfo objects using a BumpPtrAllocator instead using new/delete. This speeds up -Eonly on Cocoa.h using the regular lexer by 1.8% and the PTHLexer by 3%.
by Ted Kremenek
· 16 years ago
9485d23
eliminate the isCXXNamedOperator function and some string compares and
by Chris Lattner
· 16 years ago
268ee70
Added PTH optimization to not process entire blocks of tokens that appear in skipped preprocessor blocks. This improves PTH speed by 6%. The code for this optimization itself is not very optimized, and will get cleaned up.
by Ted Kremenek
· 16 years ago
08631c5
Convert IdentifierInfo's to be printed the same as DeclarationNames
by Chris Lattner
· 16 years ago
81d24e1
Rename IsNonPragmaNonMacroLexer to IsFileLexer.
by Ted Kremenek
· 16 years ago
ac80c6e
Use PreprocessorLexer::getFileID() instead of Lexer::getFileLoc(). This is an intermediate step to having getCurrentLexer() return a PreprocessorLexer* instead of a Lexer*.
by Ted Kremenek
· 16 years ago
17ff58a
When using a PTHLexer, use DiscardToEndOfLine() instead of ReadToEndOfLine().
by Ted Kremenek
· 16 years ago
41938c8
- Move static function IsNonPragmaNonMacroLexer into Preprocessor.h.
by Ted Kremenek
· 16 years ago
6cf3ed7
don't turn identifierinfo's into strings in diagnostics.
by Chris Lattner
· 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
204b2fe
Remove the last of the old-style Preprocessor::Diag methods.
by Chris Lattner
· 16 years ago
56b05c8
remove one more Preprocessor::Diag method.
by Chris Lattner
· 16 years ago
3692b09
Convert the lexer and start converting the PP over to using canonical Diag methods.
by Chris Lattner
· 16 years ago
f6452c5
Add hooks to use PTHLexer::Lex instead of Lexer::Lex when CurLexer is null.
by Ted Kremenek
· 16 years ago
ac6b06d
Added conditional guard 'if (CurLexer)' when using SetCommentRetentionState().
by Ted Kremenek
· 16 years ago
60e45d4
Change a bunch of uses of 'CurLexer->' to 'CurPPLexer->', which should be the
by Ted Kremenek
· 16 years ago
9d72851
Rename Characteristic_t to CharacteristicKind
by Chris Lattner
· 16 years ago
aea3ad0
Stop the preprocessor from poking the lexer's private parts.
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
7bfaaae
* Remove isInSystemHeader() from DiagClient, move it to SourceManager
by Nico Weber
· 16 years ago
0049db6
fix PR2357 (#ifs didnt invalidate the multiple-inclusion optimization state)
by Nuno Lopes
· 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/PPDirectives.cpp]
1072509
move PP::LookupFile from PPLexerChange -> PPDirectives.cpp
by Chris Lattner
· 17 years ago
a3b605e
split macro expansion support out of Preprocessor.cpp into PPMacroExpansion.cpp
by Chris Lattner
· 17 years ago
[Renamed (99%) from Lex/Directives.cpp]
6cfe759
rename some MacroExpander-related ivars to TokenLexer.
by Chris Lattner
· 17 years ago
141e71f
split preprocesor directive handling out of Preprocessor.cpp into Directives.cpp
by Chris Lattner
· 17 years ago