forked from OSchip/llvm-project
Removed One Definition Rule warnings because they're
noisy when dealing with anonymous structs. <rdar://problem/13246914> llvm-svn: 176738
This commit is contained in:
parent
bce0583627
commit
83b3da95f6
|
@ -323,6 +323,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
|
|||
|
||||
// Disable some warnings.
|
||||
m_compiler->getDiagnosticOpts().Warnings.push_back("no-unused-value");
|
||||
m_compiler->getDiagnosticOpts().Warnings.push_back("no-odr");
|
||||
|
||||
// Inform the target of the language options
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue