[llvm-branch-commits] [lldb] r215833 - Fix the build. Match the declaration in trunk. Use clang::diag::Flavor::WarningOrError
Sylvestre Ledru
sylvestre at debian.org
Sun Aug 17 04:59:38 PDT 2014
Author: sylvestre
Date: Sun Aug 17 06:59:37 2014
New Revision: 215833
URL: http://llvm.org/viewvc/llvm-project?rev=215833&view=rev
Log:
Fix the build. Match the declaration in trunk. Use clang::diag::Flavor::WarningOrError
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=215833&r1=215832&r2=215833&view=diff
==============================================================================
--- lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp (original)
+++ lldb/branches/release_35/source/Expression/ClangExpressionParser.cpp Sun Aug 17 06:59:37 2014
@@ -230,12 +230,12 @@ ClangExpressionParser::ClangExpressionPa
m_compiler->getCodeGenOpts().setDebugInfo(CodeGenOptions::NoDebugInfo);
// Disable some warnings.
- m_compiler->getDiagnostics().setSeverityForGroup(clang::diag::Flavor::WarningOrError,
- diag::Flavor::Remark, "unused-value", clang::diag::Severity::Ignored,
- SourceLocation());
- m_compiler->getDiagnostics().setSeverityForGroup(clang::diag::Flavor::WarningOrError,
- diag::Flavor::Remark, "odr", clang::diag::Severity::Ignored,
- SourceLocation());
+ m_compiler->getDiagnostics().setSeverityForGroup(
+ clang::diag::Flavor::WarningOrError, "unused-value",
+ clang::diag::Severity::Ignored, SourceLocation());
+ 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