summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-02-02 11:06:51 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-02-02 11:06:51 +0000
commit8c30592e184874b1c75789d879b9ddb85f0932d6 (patch)
tree18cab755cb14db93a8632ec57b9ce3600a1ea416 /clang/lib/CodeGen/CodeGenFunction.cpp
parentefd04a6c755af24e0909f42f60ea1cc671840310 (diff)
downloadbcm5719-llvm-8c30592e184874b1c75789d879b9ddb85f0932d6.tar.gz
bcm5719-llvm-8c30592e184874b1c75789d879b9ddb85f0932d6.zip
Move DebugInfoKind into its own header to cut the cyclic dependency edge from Driver to Frontend.
llvm-svn: 259489
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index e41aa81bdef..e079b5869d9 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -1764,7 +1764,7 @@ void CodeGenFunction::EmitDeclRefExprDbgValue(const DeclRefExpr *E,
llvm::Constant *Init) {
assert (Init && "Invalid DeclRefExpr initializer!");
if (CGDebugInfo *Dbg = getDebugInfo())
- if (CGM.getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo)
+ if (CGM.getCodeGenOpts().getDebugInfo() >= codegenoptions::LimitedDebugInfo)
Dbg->EmitGlobalVariable(E->getDecl(), Init);
}
OpenPOWER on IntegriCloud