[llvm-branch-commits] [lldb] r215425 - Fix lldb build for 3.5 release. Patcy by Sylvestre Ladru.

Bill Wendling isanbard at gmail.com
Mon Aug 11 22:32:50 PDT 2014


Author: void
Date: Tue Aug 12 00:32:50 2014
New Revision: 215425

URL: http://llvm.org/viewvc/llvm-project?rev=215425&view=rev
Log:
Fix lldb build for 3.5 release. Patcy by Sylvestre Ladru.

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=215425&r1=215424&r2=215425&view=diff
==============================================================================
--- lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp (original)
+++ lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp Tue Aug 12 00:32:50 2014
@@ -231,9 +231,11 @@ ClangExpressionParser::ClangExpressionPa
 
     // Disable some warnings.
     m_compiler->getDiagnostics().setSeverityForGroup(clang::diag::Flavor::WarningOrError,
-        "unused-value", clang::diag::Severity::Ignored, SourceLocation());
+        diag::Flavor::Remark, "unused-value", clang::diag::Severity::Ignored,
+        SourceLocation());
     m_compiler->getDiagnostics().setSeverityForGroup(clang::diag::Flavor::WarningOrError,
-        "odr", clang::diag::Severity::Ignored, SourceLocation());
+        diag::Flavor::Remark, "odr", clang::diag::Severity::Ignored,
+        SourceLocation());
 
     // Inform the target of the language options
     //





More information about the llvm-branch-commits mailing list