Update lldb code to match the change in clang r212386
authorSylvestre Ledru <sylvestre@debian.org>
Sun, 6 Jul 2014 17:50:36 +0000 (17:50 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 6 Jul 2014 17:50:36 +0000 (17:50 +0000)
llvm-svn: 212410

lldb/source/Expression/ClangExpressionParser.cpp

index 0b6d952..28875b8 100644 (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