diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-11-19 00:44:06 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-11-19 00:44:06 +0000 |
commit | c7a366309d95c60132af664f7903086352d2b5e1 (patch) | |
tree | 55f33316e4da51a4fdd65c77e93f8afc4fb017c9 /clang | |
parent | c0145fd0bfdcd7c920b00e49f475caba0515fb26 (diff) | |
download | bcm5719-llvm-c7a366309d95c60132af664f7903086352d2b5e1.tar.gz bcm5719-llvm-c7a366309d95c60132af664f7903086352d2b5e1.zip |
Initialize CurPPLexer in Preprocessor's constructor.
llvm-svn: 59573
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 1f9df50db3c..2d4d3a7324d 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -48,7 +48,7 @@ Preprocessor::Preprocessor(Diagnostic &diags, const LangOptions &opts, HeaderSearch &Headers) : Diags(diags), Features(opts), Target(target), FileMgr(Headers.getFileMgr()), SourceMgr(SM), HeaderInfo(Headers), Identifiers(opts), - CurLexer(0), CurDirLookup(0), CurTokenLexer(0), Callbacks(0) { + CurPPLexer(0), CurDirLookup(0), Callbacks(0) { ScratchBuf = new ScratchBuffer(SourceMgr); // Clear stats. |