projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb9424
)
Initialize BackendConsumer::Context in constructor.
author
Yaron Keren
<yaron.keren@gmail.com>
Thu, 25 Dec 2014 12:21:56 +0000
(12:21 +0000)
committer
Yaron Keren
<yaron.keren@gmail.com>
Thu, 25 Dec 2014 12:21:56 +0000
(12:21 +0000)
llvm-svn: 224836
clang/lib/CodeGen/CodeGenAction.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CodeGenAction.cpp
b/clang/lib/CodeGen/CodeGenAction.cpp
index
1eb59bd
..
f86fb1f
100644
(file)
--- 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) {