diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-11-20 01:29:45 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-11-20 01:29:45 +0000 |
commit | 452e37837a48b2f0ced144784277fd4d28cbede9 (patch) | |
tree | 6c53176393b527ab5656def9eb71104b898cfcb4 /lib/Lex/PreprocessorLexer.cpp | |
parent | 4d35da2e41941965bbee8ed7e8c30e7c21000d71 (diff) |
- Default initialize ParsingPreprocessorDirective, ParsingFilename, and
LexingRawMode in the ctor of PreprocessorLexer.
- PTHLexer: Use "LastToken" instead of "NumToken"
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PreprocessorLexer.cpp')
-rw-r--r-- | lib/Lex/PreprocessorLexer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Lex/PreprocessorLexer.cpp b/lib/Lex/PreprocessorLexer.cpp index 2ce181ef83..1916f298db 100644 --- a/lib/Lex/PreprocessorLexer.cpp +++ b/lib/Lex/PreprocessorLexer.cpp @@ -19,7 +19,10 @@ using namespace clang; PreprocessorLexer::PreprocessorLexer(Preprocessor* pp, SourceLocation L) - : PP(pp), FileID(pp->getSourceManager().getPhysicalLoc(L).getFileID()) {} + : PP(pp), FileID(pp->getSourceManager().getPhysicalLoc(L).getFileID()), + ParsingPreprocessorDirective(false), + ParsingFilename(false), + LexingRawMode(false) {} PreprocessorLexer::~PreprocessorLexer() {} |