diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-12 11:14:32 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-12 11:14:32 +0000 |
commit | 10933d14894e9fdab6f66c511a6d26acf840c824 (patch) | |
tree | 39d5fd50c809ac2d8144be64278d2205747941b2 /lldb/source/Expression/ClangExpressionParser.cpp | |
parent | d576e00b4412ea5804bcfcff72adbf5e1fb606d6 (diff) | |
download | bcm5719-llvm-10933d14894e9fdab6f66c511a6d26acf840c824.tar.gz bcm5719-llvm-10933d14894e9fdab6f66c511a6d26acf840c824.zip |
Track clang changes from r210764
llvm-svn: 210765
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index afe66e322a9..37ebfcc9132 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -242,9 +242,11 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope, 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 |