r224836 - Initialize BackendConsumer::Context in constructor.
Yaron Keren
yaron.keren at gmail.com
Thu Dec 25 04:21:56 PST 2014
Author: yrnkrn
Date: Thu Dec 25 06:21:56 2014
New Revision: 224836
URL: http://llvm.org/viewvc/llvm-project?rev=224836&view=rev
Log:
Initialize BackendConsumer::Context in constructor.
Modified:
cfe/trunk/lib/CodeGen/CodeGenAction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenAction.cpp?rev=224836&r1=224835&r2=224836&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenAction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenAction.cpp Thu Dec 25 06:21:56 2014
@@ -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) {
More information about the cfe-commits
mailing list