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:
Sean Callanan 2013-03-08 23:38:53 +00:00
parent bce0583627
commit 83b3da95f6
1 changed files with 1 additions and 0 deletions

View File

@ -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
//