[Lldb-commits] [lldb] r215107 - Fixed the build broken by the r215046.

Hafiz Abid Qadeer hafiz_abid at mentor.com
Thu Aug 7 05:54:20 PDT 2014


Author: abidh
Date: Thu Aug  7 07:54:20 2014
New Revision: 215107

URL: http://llvm.org/viewvc/llvm-project?rev=215107&view=rev
Log:
Fixed the build broken by the r215046.

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=215107&r1=215106&r2=215107&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionParser.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionParser.cpp Thu Aug  7 07:54:20 2014
@@ -230,9 +230,9 @@ ClangExpressionParser::ClangExpressionPa
         m_compiler->getCodeGenOpts().setDebugInfo(CodeGenOptions::NoDebugInfo);
 
     // Disable some warnings.
-    m_compiler->getDiagnostics().setSeverityForGroup(
+    m_compiler->getDiagnostics().setSeverityForGroup(clang::diag::Flavor::WarningOrError,
         "unused-value", clang::diag::Severity::Ignored, SourceLocation());
-    m_compiler->getDiagnostics().setSeverityForGroup(
+    m_compiler->getDiagnostics().setSeverityForGroup(clang::diag::Flavor::WarningOrError,
         "odr", clang::diag::Severity::Ignored, SourceLocation());
 
     // Inform the target of the language options





More information about the lldb-commits mailing list