[Lldb-commits] [lldb] r210765 - Track clang changes from r210764

Alp Toker alp at nuanti.com
Thu Jun 12 04:14:32 PDT 2014


Author: alp
Date: Thu Jun 12 06:14:32 2014
New Revision: 210765

URL: http://llvm.org/viewvc/llvm-project?rev=210765&view=rev
Log:
Track clang changes from r210764

Modified:
    lldb/trunk/source/Expression/ClangExpressionParser.cpp

Modified: lldb/trunk/source/Expression/ClangExpressionParser.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangExpressionParser.cpp?rev=210765&r1=210764&r2=210765&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionParser.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionParser.cpp Thu Jun 12 06:14:32 2014
@@ -242,9 +242,11 @@ ClangExpressionParser::ClangExpressionPa
         m_compiler->getCodeGenOpts().setDebugInfo(CodeGenOptions::NoDebugInfo);
     
     // Disable some warnings.
-    m_compiler->getDiagnostics().setDiagnosticGroupMapping("unused-value", clang::diag::MAP_IGNORE, SourceLocation());
-    m_compiler->getDiagnostics().setDiagnosticGroupMapping("odr", clang::diag::MAP_IGNORE, SourceLocation());
-    
+    m_compiler->getDiagnostics().setSeverityForGroup(
+        "unused-value", clang::diag::Severity::Ignored, SourceLocation());
+    m_compiler->getDiagnostics().setSeverityForGroup(
+        "odr", clang::diag::Severity::Ignored, SourceLocation());
+
     // Inform the target of the language options
     //
     // FIXME: We shouldn't need to do this, the target should be immutable once





More information about the lldb-commits mailing list