]> granicus.if.org Git - clang/commitdiff
Objective-C [qoi] - provide group name for
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 29 Sep 2014 20:17:04 +0000 (20:17 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 29 Sep 2014 20:17:04 +0000 (20:17 +0000)
warn_property_types_are_incompatible. rdar://18487506

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

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

index bcffb8702243fe7bcd528086f166389085fe7d13..defee70c7e358a42888031cc2f195c657f15c757 100644 (file)
@@ -586,7 +586,8 @@ def warn_property_attribute : Warning<
   "'%1' attribute on property %0 does not match the property inherited from %2">,
   InGroup<PropertyAttr>;
 def warn_property_types_are_incompatible : Warning<
-  "property type %0 is incompatible with type %1 inherited from %2">;
+  "property type %0 is incompatible with type %1 inherited from %2">,
+  InGroup<DiagGroup<"incompatible-property-type">>;
 def warn_protocol_property_mismatch : Warning<
   "property of type %0 was selected for synthesis">,
   InGroup<DiagGroup<"protocol-property-synthesis-ambiguity">>;
index 015b1f9dd5a49c561123c7746f472d5e81657ac2..066cf01ed86e9a3747ed44c00c00dec572a263a1 100644 (file)
@@ -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 (100):
+CHECK: Warnings without flags (99):
 CHECK-NEXT:   ext_delete_void_ptr_operand
 CHECK-NEXT:   ext_excess_initializers
 CHECK-NEXT:   ext_excess_initializers_in_char_array_initializer
@@ -104,7 +104,6 @@ CHECK-NEXT:   warn_pp_line_decimal
 CHECK-NEXT:   warn_pragma_pack_pop_identifer_and_alignment
 CHECK-NEXT:   warn_pragma_pack_show
 CHECK-NEXT:   warn_property_getter_owning_mismatch
-CHECK-NEXT:   warn_property_types_are_incompatible
 CHECK-NEXT:   warn_readonly_property
 CHECK-NEXT:   warn_register_objc_catch_parm
 CHECK-NEXT:   warn_related_result_type_compatibility_class