diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-10-23 20:05:01 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-10-23 20:05:01 +0000 |
commit | b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1 (patch) | |
tree | ef190c0b01e7d33e2e998966b6de49bb6501818c /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 40c180db136781bbbeea248540b91ed344071efb (diff) | |
download | bcm5719-llvm-b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1.tar.gz bcm5719-llvm-b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1.zip |
Switch CodeGenOptions over to a .def file, like we do with LangOptions.
llvm-svn: 166497
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 48b349b0667..34cdaa94fd7 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -1190,7 +1190,7 @@ void CodeGenFunction::EmitDeclRefExprDbgValue(const DeclRefExpr *E, llvm::Constant *Init) { assert (Init && "Invalid DeclRefExpr initializer!"); if (CGDebugInfo *Dbg = getDebugInfo()) - if (CGM.getCodeGenOpts().DebugInfo >= CodeGenOptions::LimitedDebugInfo) + if (CGM.getCodeGenOpts().getDebugInfo() >= CodeGenOptions::LimitedDebugInfo) Dbg->EmitGlobalVariable(E->getDecl(), Init); } |