summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-03-08 23:38:53 +0000
committerSean Callanan <scallanan@apple.com>2013-03-08 23:38:53 +0000
commit83b3da95f646eb1ce7e4d1c5231c5cf9a3a3c558 (patch)
treeb49c07647539b13baf88842799e11654a06b5d9c /lldb/source/Expression
parentbce05836276c82e8453c3aa13dbd854901fbc038 (diff)
downloadbcm5719-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.cpp1
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
//
OpenPOWER on IntegriCloud