[llvm-branch-commits] [lldb] r215130 - Fixed the build broken by the r215046 (same patch as abidh in trunk)

Sylvestre Ledru sylvestre at debian.org
Thu Aug 7 11:51:43 PDT 2014


Author: sylvestre
Date: Thu Aug  7 13:51:43 2014
New Revision: 215130

URL: http://llvm.org/viewvc/llvm-project?rev=215130&view=rev
Log:
Fixed the build broken by the r215046 (same patch as abidh in trunk)

Modified:
    lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp

Modified: lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp?rev=215130&r1=215129&r2=215130&view=diff
==============================================================================
--- lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp (original)
+++ lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp Thu Aug  7 13:51:43 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 llvm-branch-commits mailing list