forked from OSchip/llvm-project
parent
37e069c2ac
commit
101e490b1e
|
@ -230,9 +230,9 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue