From: Ted Kremenek Date: Wed, 19 Nov 2008 00:44:06 +0000 (+0000) Subject: Initialize CurPPLexer in Preprocessor's constructor. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b71e3e439080e69cd369313bf2ad2c85bac8267;p=clang Initialize CurPPLexer in Preprocessor's constructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59573 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index 1f9df50db3..2d4d3a7324 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/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.