From 83b3da95f646eb1ce7e4d1c5231c5cf9a3a3c558 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Fri, 8 Mar 2013 23:38:53 +0000 Subject: Removed One Definition Rule warnings because they're noisy when dealing with anonymous structs. llvm-svn: 176738 --- lldb/source/Expression/ClangExpressionParser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Expression') diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index af2e1d0ea38..58ecd13822b 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -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 // -- cgit v1.2.3