Initialize BackendConsumer::Context in constructor.

llvm-svn: 224836
This commit is contained in:
Yaron Keren 2014-12-25 12:21:56 +00:00
parent 5fb94242bb
commit 2f5ec2f2ba
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ namespace clang {
CoverageSourceInfo *CoverageInfo = nullptr)
: Diags(_Diags), Action(action), CodeGenOpts(compopts),
TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS),
Context(), LLVMIRGeneration("LLVM IR Generation Time"),
Context(nullptr), LLVMIRGeneration("LLVM IR Generation Time"),
Gen(CreateLLVMCodeGen(Diags, infile, compopts,
targetopts, C, CoverageInfo)),
LinkModule(LinkModule) {