summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-02-02 13:07:27 +0000
committerPavel Labath <labath@google.com>2016-02-02 13:07:27 +0000
commite03bd650f3baa04c173a4327345cd8dfc76ff0fc (patch)
tree658a91123d369989bd5c9bbe1a43e5590c336e27 /lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
parent440b8610e66b2eb93fdfcdbe2f4dd4f250279a9d (diff)
downloadbcm5719-llvm-e03bd650f3baa04c173a4327345cd8dfc76ff0fc.tar.gz
bcm5719-llvm-e03bd650f3baa04c173a4327345cd8dfc76ff0fc.zip
Fix build after clang interface change in r259489
llvm-svn: 259494
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp')
-rw-r--r--lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
index 72c33fec810..ff7d11f251e 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
@@ -305,9 +305,9 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
m_compiler->getCodeGenOpts().DisableFPElim = true;
m_compiler->getCodeGenOpts().OmitLeafFramePointer = false;
if (generate_debug_info)
- m_compiler->getCodeGenOpts().setDebugInfo(CodeGenOptions::FullDebugInfo);
+ m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo);
else
- m_compiler->getCodeGenOpts().setDebugInfo(CodeGenOptions::NoDebugInfo);
+ m_compiler->getCodeGenOpts().setDebugInfo(codegenoptions::NoDebugInfo);
// Disable some warnings.
m_compiler->getDiagnostics().setSeverityForGroup(clang::diag::Flavor::WarningOrError,
@@ -397,7 +397,7 @@ ClangExpressionParser::Parse (Stream &stream)
clang::SourceManager &SourceMgr = m_compiler->getSourceManager();
bool created_main_file = false;
- if (m_compiler->getCodeGenOpts().getDebugInfo() == CodeGenOptions::FullDebugInfo)
+ if (m_compiler->getCodeGenOpts().getDebugInfo() == codegenoptions::FullDebugInfo)
{
std::string temp_source_path;
OpenPOWER on IntegriCloud