From: Argyrios Kyrtzidis Date: Fri, 19 Jun 2009 07:55:35 +0000 (+0000) Subject: Fix bug in the new PCHReader constructor. PP and Context should be initialized to 0. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5710211845ebe34ec815e08a6e282eafd6118388;p=clang Fix bug in the new PCHReader constructor. PP and Context should be initialized to 0. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73762 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/PCHReader.cpp b/lib/Frontend/PCHReader.cpp index 3c6e9bbe8a..96f21f1128 100644 --- a/lib/Frontend/PCHReader.cpp +++ b/lib/Frontend/PCHReader.cpp @@ -350,7 +350,7 @@ PCHReader::PCHReader(Preprocessor &PP, ASTContext *Context) PCHReader::PCHReader(SourceManager &SourceMgr, FileManager &FileMgr, Diagnostic &Diags) : SourceMgr(SourceMgr), FileMgr(FileMgr), Diags(Diags), - SemaObj(0), PP(PP), Context(Context), Consumer(0), + SemaObj(0), PP(0), Context(0), Consumer(0), IdentifierTableData(0), IdentifierLookupTable(0), IdentifierOffsets(0), MethodPoolLookupTable(0), MethodPoolLookupTableData(0),