summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2014-12-25 12:21:56 +0000
committerYaron Keren <yaron.keren@gmail.com>2014-12-25 12:21:56 +0000
commit2f5ec2f2ba5a0bf24ca306cf876f34f55723690e (patch)
treec0802968d395e102c0a334f57ca4ba632127b504 /clang/lib/CodeGen/CodeGenAction.cpp
parent5fb94242bb5ebaaf2742d474ab8227fd6412329d (diff)
downloadbcm5719-llvm-2f5ec2f2ba5a0bf24ca306cf876f34f55723690e.tar.gz
bcm5719-llvm-2f5ec2f2ba5a0bf24ca306cf876f34f55723690e.zip
Initialize BackendConsumer::Context in constructor.
llvm-svn: 224836
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenAction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp
index 1eb59bdac95..f86fb1f09f1 100644
--- a/clang/lib/CodeGen/CodeGenAction.cpp
+++ b/clang/lib/CodeGen/CodeGenAction.cpp
@@ -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) {
OpenPOWER on IntegriCloud