aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGClass.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/CGClass.cpp
parent40c180db136781bbbeea248540b91ed344071efb (diff)
downloadllvm-b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1.zip
llvm-b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1.tar.gz
llvm-b0eea8b54bfaabbcd9d767b3e0caa6a32bc9f4d1.tar.bz2
Switch CodeGenOptions over to a .def file, like we do with LangOptions.
llvm-svn: 166497
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r--clang/lib/CodeGen/CGClass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp
index 6d36901..d3c0400 100644
--- a/clang/lib/CodeGen/CGClass.cpp
+++ b/clang/lib/CodeGen/CGClass.cpp
@@ -1238,7 +1238,7 @@ CodeGenFunction::EmitCXXConstructorCall(const CXXConstructorDecl *D,
CGDebugInfo *DI = getDebugInfo();
if (DI &&
- CGM.getCodeGenOpts().DebugInfo == CodeGenOptions::LimitedDebugInfo) {
+ CGM.getCodeGenOpts().getDebugInfo() == CodeGenOptions::LimitedDebugInfo) {
// If debug info for this class has not been emitted then this is the
// right time to do so.
const CXXRecordDecl *Parent = D->getParent();