]> granicus.if.org Git - clang/commitdiff
Move warn_cxx0x_right_shift_in_template_arg to CXX11Compat group, from
authorDouglas Gregor <dgregor@apple.com>
Tue, 1 May 2012 01:32:13 +0000 (01:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 1 May 2012 01:32:13 +0000 (01:32 +0000)
Dmitri Gribenko!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155872 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticParseKinds.td
test/Misc/warning-flags.c

index d28e1dcda0ddcc3d648d1b0f99d8fa13dacdb39e..dd173d82dd600b4d003ba5de4f4a3434b3ba9901 100644 (file)
@@ -497,7 +497,7 @@ def err_two_right_angle_brackets_need_space : Error<
   "a space is required between consecutive right angle brackets (use '> >')">;
 def warn_cxx0x_right_shift_in_template_arg : Warning<
   "use of right-shift operator ('>>') in template argument will require "
-  "parentheses in C++11">;
+  "parentheses in C++11">, InGroup<CXX11Compat>;
 def warn_cxx98_compat_two_right_angle_brackets : Warning<
   "consecutive right angle brackets are incompatible with C++98 (use '> >')">,
   InGroup<CXX98Compat>, DefaultIgnore;
index bc0c941bd99d1e05bc0d1fdc5f8626dd2cad7ffd..c8f7f1a0095f7a679d8761e5bb58a37ad361654e 100644 (file)
@@ -17,7 +17,7 @@ This test serves two purposes:
 
 The list of warnings below should NEVER grow.  It should gradually shrink to 0.
 
-CHECK: Warnings without flags (253):
+CHECK: Warnings without flags (252):
 CHECK-NEXT:   ext_anonymous_struct_union_qualified
 CHECK-NEXT:   ext_binary_literal
 CHECK-NEXT:   ext_cast_fn_obj
@@ -133,7 +133,6 @@ CHECK-NEXT:   warn_conflicting_variadic
 CHECK-NEXT:   warn_conv_to_base_not_used
 CHECK-NEXT:   warn_conv_to_self_not_used
 CHECK-NEXT:   warn_conv_to_void_not_used
-CHECK-NEXT:   warn_cxx0x_right_shift_in_template_arg
 CHECK-NEXT:   warn_delete_array_type
 CHECK-NEXT:   warn_division_by_zero
 CHECK-NEXT:   warn_double_const_requires_fp64