diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-01-25 07:31:12 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-01-25 07:31:12 +0000 |
commit | de72f105938486da23b66a08d1e7a1eeeb0b9e2b (patch) | |
tree | ae5d3eb1b25da79e45dddf1dc0d84ec8e1f349e1 | |
parent | d7e87b251cb1f17a80e97c332e3df6124480dfde (diff) |
Add missing InGroup for this warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173429 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 | ||||
-rw-r--r-- | test/Misc/warning-flags.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 2bcbea17a5..fbaa2c5168 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -3276,7 +3276,7 @@ def note_deleted_assign_field : Note< // This should eventually be an error. def warn_undefined_internal : Warning< "%select{function|variable}0 %q1 has internal linkage but is not defined">, - DiagGroup<"undefined-internal">; + InGroup<DiagGroup<"undefined-internal">>; def note_used_here : Note<"used here">; def warn_internal_in_extern_inline : ExtWarn< diff --git a/test/Misc/warning-flags.c b/test/Misc/warning-flags.c index 3131826e73..265e178fa7 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 (146): +CHECK: Warnings without flags (145): CHECK-NEXT: ext_delete_void_ptr_operand CHECK-NEXT: ext_enum_friend CHECK-NEXT: ext_expected_semi_decl_list @@ -160,7 +160,6 @@ CHECK-NEXT: warn_unavailable_fwdclass_message CHECK-NEXT: warn_undef_interface CHECK-NEXT: warn_undef_interface_suggest CHECK-NEXT: warn_undef_protocolref -CHECK-NEXT: warn_undefined_internal CHECK-NEXT: warn_unknown_method_family CHECK-NEXT: warn_use_out_of_scope_declaration CHECK-NEXT: warn_weak_identifier_undeclared |