Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
416d92ef0b8ad96ab679de7856bdb55c5f31d814
/
lib
/
Lex
/
PPDirectives.cpp
685befe
switch the macroinfo argument lists from being allocated off the heap
by Chris Lattner
· 16 years ago
cf29e07
detemplatify setArgumentList and some other cleanups.
by Chris Lattner
· 16 years ago
0301b3f
require the MAcroInfo objects are explcitly destroyed.
by Chris Lattner
· 16 years ago
be5c64d
Fix PR3464 by searching for headers from the predefines
by Chris Lattner
· 16 years ago
137b6a6
Implement handling of file entry/exit notifications from GNU
by Chris Lattner
· 16 years ago
9d79eba
propagate linemarker flags down into the the line table, currently
by Chris Lattner
· 16 years ago
4c4ea17
stub out basic #line handling calls.
by Chris Lattner
· 16 years ago
500d329
move library-specific diagnostic headers into library private dirs. Reduce
by Chris Lattner
· 16 years ago
20c6b3b
Split the single monolithic DiagnosticKinds.def file into one
by Chris Lattner
· 16 years ago
202fd2c
Fix a bug that I noticed by inspection.
by Chris Lattner
· 16 years ago
e768988
remove my hacks that aggressively threw away multiple
by Chris Lattner
· 16 years ago
5b9a504
start plumbing together the line table information. So far we just
by Chris Lattner
· 16 years ago
478a18e
add parsing and constraint enforcement for GNU line marker directives.
by Chris Lattner
· 16 years ago
099dd05
a few minor cleanups
by Chris Lattner
· 16 years ago
359cc44
parse and enforce required constraints on #line directives. Right now
by Chris Lattner
· 16 years ago
9bd0d59
Eagerly resolve the spelling location of the tokens in a definition
by Chris Lattner
· 16 years ago
693faa6
do not use SourceManager::getFileCharacteristic(FileID), it is not
by Chris Lattner
· 16 years ago
2b2453a
this massive patch introduces a simple new abstraction: it makes
by Chris Lattner
· 16 years ago
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