diff options
author | Sean Callanan <scallanan@apple.com> | 2013-03-08 23:38:53 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2013-03-08 23:38:53 +0000 |
commit | 83b3da95f646eb1ce7e4d1c5231c5cf9a3a3c558 (patch) | |
tree | b49c07647539b13baf88842799e11654a06b5d9c /lldb/source/Expression | |
parent | bce05836276c82e8453c3aa13dbd854901fbc038 (diff) | |
download | bcm5719-llvm-83b3da95f646eb1ce7e4d1c5231c5cf9a3a3c558.tar.gz bcm5719-llvm-83b3da95f646eb1ce7e4d1c5231c5cf9a3a3c558.zip |
Removed One Definition Rule warnings because they're
noisy when dealing with anonymous structs.
<rdar://problem/13246914>
llvm-svn: 176738
Diffstat (limited to 'lldb/source/Expression')
-rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 // |