@@ -1328,10 +1328,8 @@ def err_delegating_initializer_alone : Error<
1328
1328
def warn_delegating_ctor_cycle : Warning<
1329
1329
"constructor for %0 creates a delegation cycle">, DefaultError,
1330
1330
InGroup<DelegatingCtorCycles>;
1331
- def note_it_delegates_to : Note<
1332
- "it delegates to">, InGroup<DelegatingCtorCycles>;
1333
- def note_which_delegates_to : Note<
1334
- "which delegates to">, InGroup<DelegatingCtorCycles>;
1331
+ def note_it_delegates_to : Note<"it delegates to">;
1332
+ def note_which_delegates_to : Note<"which delegates to">;
1335
1333
1336
1334
// C++11 range-based for loop
1337
1335
def err_for_range_decl_must_be_var : Error<
@@ -1720,8 +1718,7 @@ def warn_lock_exclusive_and_shared : Warning<
1720
1718
"mutex '%0' is locked exclusively and shared in the same scope">,
1721
1719
InGroup<ThreadSafetyAnalysis>, DefaultIgnore;
1722
1720
def note_lock_exclusive_and_shared : Note<
1723
- "the other lock of mutex '%0' is here">,
1724
- InGroup<ThreadSafetyAnalysis>, DefaultIgnore;
1721
+ "the other lock of mutex '%0' is here">;
1725
1722
def warn_variable_requires_lock : Warning<
1726
1723
"%select{reading|writing}2 variable '%0' requires locking "
1727
1724
"%select{'%1'|'%1' exclusively}2">,
@@ -5299,8 +5296,7 @@ def warn_empty_while_body : Warning<
5299
5296
def warn_empty_switch_body : Warning<
5300
5297
"switch statement has empty body">, InGroup<EmptyBody>;
5301
5298
def note_empty_body_on_separate_line : Note<
5302
- "put the semicolon on a separate line to silence this warning">,
5303
- InGroup<EmptyBody>;
5299
+ "put the semicolon on a separate line to silence this warning">;
5304
5300
5305
5301
def err_va_start_used_in_non_variadic_function : Error<
5306
5302
"'va_start' used in function with fixed args">;
0 commit comments