summaryrefslogtreecommitdiffstats
path: root/llvm/Makefile.config.in
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-01-31 22:19:12 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-01-31 22:19:12 +0000
commit6c26e747819b86bfbc22df6b813b09aee926e78b (patch)
tree25dd80df84641853031ec849eb79504c99565c41 /llvm/Makefile.config.in
parent38d3798b94ab83bd828d9b4ea3cef63ef474832a (diff)
downloadbcm5719-llvm-6c26e747819b86bfbc22df6b813b09aee926e78b.tar.gz
bcm5719-llvm-6c26e747819b86bfbc22df6b813b09aee926e78b.zip
Add -Wno-nested-anon-types to -pedantic builds of LLVM. This Clang warning
catches uses of an extremely minor and widely-available C++ extension (which every C++ compiler I could find supports, but EDG and Clang reject in strict mode). The diagnosed code pattern looks like this: struct X { union { struct { int a; int b; } S; }; }; llvm-svn: 174103
Diffstat (limited to 'llvm/Makefile.config.in')
-rw-r--r--llvm/Makefile.config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/Makefile.config.in b/llvm/Makefile.config.in
index f0f2e0d9ec8..c751a0176d6 100644
--- a/llvm/Makefile.config.in
+++ b/llvm/Makefile.config.in
@@ -366,6 +366,8 @@ COVERED_SWITCH_DEFAULT = @COVERED_SWITCH_DEFAULT@
NO_UNINITIALIZED = @NO_UNINITIALIZED@
# -Wno-maybe-uninitialized
NO_MAYBE_UNINITIALIZED = @NO_MAYBE_UNINITIALIZED@
+# -Wno-nested-anon-types
+NO_NESTED_ANON_TYPES = @NO_NESTED_ANON_TYPES@
# Was polly found in tools/polly?
LLVM_HAS_POLLY = @LLVM_HAS_POLLY@
OpenPOWER on IntegriCloud