From d1ca4706c533b2455e1b0e8b327e54469532d699 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Mon, 29 Sep 2014 20:17:04 +0000 Subject: [PATCH] Objective-C [qoi] - provide group name for 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 | 3 ++- test/Misc/warning-flags.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index bcffb87022..defee70c7e 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -586,7 +586,8 @@ def warn_property_attribute : Warning< "'%1' attribute on property %0 does not match the property inherited from %2">, InGroup; 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>; def warn_protocol_property_mismatch : Warning< "property of type %0 was selected for synthesis">, InGroup>; diff --git a/test/Misc/warning-flags.c b/test/Misc/warning-flags.c index 015b1f9dd5..066cf01ed8 100644 --- a/test/Misc/warning-flags.c +++ b/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 (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 -- 2.40.0