Update lldb code to match the change in clang r212386

llvm-svn: 212410
This commit is contained in:
Sylvestre Ledru
2014-07-06 17:50:36 +00:00
parent 611b7a11b5
commit 3cc9d63031

View File

@@ -239,7 +239,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
//
// FIXME: We shouldn't need to do this, the target should be immutable once
// created. This complexity should be lifted elsewhere.
m_compiler->getTarget().setForcedLangOptions(m_compiler->getLangOpts());
m_compiler->getTarget().adjust(m_compiler->getLangOpts());
// 4. Set up the diagnostic buffer for reporting errors