summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/warning-flags.c
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-04-04 00:17:16 +0000
committerReid Kleckner <reid@kleckner.net>2014-04-04 00:17:16 +0000
commit98a126621874024c4283cf92b5ae1c5eb2e7b8e0 (patch)
tree6aa86ad925f4826ea381876c44f2063cf0bd2690 /clang/test/Misc/warning-flags.c
parent8dc9f0a3711ead756d83255433ba436cb5bbd5fd (diff)
downloadbcm5719-llvm-98a126621874024c4283cf92b5ae1c5eb2e7b8e0.tar.gz
bcm5719-llvm-98a126621874024c4283cf92b5ae1c5eb2e7b8e0.zip
Put macro redefinition warnings under -Wmacro-redefined
This is consistent with -Wbuiltin-macro-redefined, and puts this common extension warning under a flag. Reviewers: rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D3283 llvm-svn: 205591
Diffstat (limited to 'clang/test/Misc/warning-flags.c')
-rw-r--r--clang/test/Misc/warning-flags.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Misc/warning-flags.c b/clang/test/Misc/warning-flags.c
index 07a7fa50356..415e1986fc3 100644
--- a/clang/test/Misc/warning-flags.c
+++ b/clang/test/Misc/warning-flags.c
@@ -18,7 +18,7 @@ This test serves two purposes:
The list of warnings below should NEVER grow. It should gradually shrink to 0.
-CHECK: Warnings without flags (106):
+CHECK: Warnings without flags (105):
CHECK-NEXT: ext_delete_void_ptr_operand
CHECK-NEXT: ext_expected_semi_decl_list
CHECK-NEXT: ext_explicit_specialization_storage_class
@@ -28,7 +28,6 @@ CHECK-NEXT: ext_missing_declspec
CHECK-NEXT: ext_missing_whitespace_after_macro_name
CHECK-NEXT: ext_new_paren_array_nonconst
CHECK-NEXT: ext_plain_complex
-CHECK-NEXT: ext_pp_macro_redef
CHECK-NEXT: ext_template_arg_extra_parens
CHECK-NEXT: ext_typecheck_comparison_of_pointer_integer
CHECK-NEXT: ext_typecheck_cond_incompatible_operands
OpenPOWER on IntegriCloud