summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-10-23 20:05:01 +0000
committerDouglas Gregor <dgregor@apple.com>2012-10-23 20:05:01 +0000
commitb0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1 (patch)
treeef190c0b01e7d33e2e998966b6de49bb6501818c /clang/lib/CodeGen/CGExprScalar.cpp
parent40c180db136781bbbeea248540b91ed344071efb (diff)
downloadbcm5719-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/CGExprScalar.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprScalar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp
index 4b18e78e921..91b10b29d12 100644
--- a/clang/lib/CodeGen/CGExprScalar.cpp
+++ b/clang/lib/CodeGen/CGExprScalar.cpp
@@ -969,7 +969,8 @@ Value *ScalarExprEmitter::VisitMemberExpr(MemberExpr *E) {
// debug info size.
CGDebugInfo *DI = CGF.getDebugInfo();
if (DI &&
- CGF.CGM.getCodeGenOpts().DebugInfo == CodeGenOptions::LimitedDebugInfo) {
+ CGF.CGM.getCodeGenOpts().getDebugInfo()
+ == CodeGenOptions::LimitedDebugInfo) {
QualType PQTy = E->getBase()->IgnoreParenImpCasts()->getType();
if (const PointerType * PTy = dyn_cast<PointerType>(PQTy))
if (FieldDecl *M = dyn_cast<FieldDecl>(E->getMemberDecl()))
OpenPOWER on IntegriCloud