From 1983f54daebc5b4ba0ebb3fbc6ec0abb083f8908 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 31 Jan 2013 22:19:12 +0000 Subject: 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; }; }; git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174103 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.config.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.config.in') diff --git a/Makefile.config.in b/Makefile.config.in index f0f2e0d..c751a01 100644 --- a/Makefile.config.in +++ b/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@ -- cgit v1.1