| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
| |
- Rename 'CurToken' and 'LastToken' to 'CurTokenIdx' and 'LastTokenIdx'
respectively.
- Add helper methods GetToken(), AdvanceToken(), AtLastToken() to abstract away
details of the token stream. This also allows us to easily replace their
implementation later.
llvm-svn: 59733
|
| |
|
|
|
|
| |
can do basic macro expansion using the PTHLexer.
llvm-svn: 59724
|
| |
|
|
|
|
|
|
| |
LexingRawMode in the ctor of PreprocessorLexer.
- PTHLexer: Use "LastToken" instead of "NumToken"
llvm-svn: 59690
|
| |
|
|
|
|
| |
PTHLexer::DiscardToEndOfLine().
llvm-svn: 59687
|
| |
|
|
| |
llvm-svn: 59670
|
| |
|
|
| |
llvm-svn: 59668
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Add variants of IsNonPragmaNonMacroLexer to accept an IncludeMacroStack entry
(simplifies some uses).
- Use IsNonPragmaNonMacroLexer in Preprocessor::LookupFile.
- Add 'FileID' to PreprocessorLexer, and have Preprocessor query this fileid
when looking up the FileEntry for a file
Performance testing of -Eonly on Cocoa.h shows no performance regression because
of this patch.
llvm-svn: 59666
|
| |
|
|
| |
llvm-svn: 59424
|
| |
|
|
| |
llvm-svn: 59191
|
|
|
llvm-svn: 59169
|