File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3336,7 +3336,7 @@ def warn_thread_attribute_argument_not_lockable : Warning<
3336
3336
InGroup<ThreadSafetyAttributes>, DefaultIgnore;
3337
3337
def warn_thread_attribute_decl_not_lockable : Warning<
3338
3338
"%0 attribute can only be applied in a context annotated "
3339
- "with 'capability(\"mutex\") ' attribute">,
3339
+ "with 'capability' attribute">,
3340
3340
InGroup<ThreadSafetyAttributes>, DefaultIgnore;
3341
3341
def warn_thread_attribute_decl_not_pointer : Warning<
3342
3342
"%0 only applies to pointer types; type here is %1">,
Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ Mutex aa_var_arg_bad_3 ACQUIRED_AFTER(muDoublePointer); // \
496
496
Mutex aa_var_arg_bad_4 ACQUIRED_AFTER (umu); // \
497
497
// expected-warning {{'acquired_after' attribute requires arguments whose type is annotated with 'capability' attribute}}
498
498
UnlockableMu aa_var_arg_bad_5 ACQUIRED_AFTER (mu_aa); // \
499
- // expected-warning {{'acquired_after' attribute can only be applied in a context annotated with 'capability("mutex") ' attribute}}
499
+ // expected-warning {{'acquired_after' attribute can only be applied in a context annotated with 'capability' attribute}}
500
500
501
501
// -----------------------------------------//
502
502
// Acquired Before (ab)
@@ -559,7 +559,7 @@ Mutex ab_var_arg_bad_3 ACQUIRED_BEFORE(muDoublePointer); // \
559
559
Mutex ab_var_arg_bad_4 ACQUIRED_BEFORE (umu); // \
560
560
// expected-warning {{'acquired_before' attribute requires arguments whose type is annotated with 'capability' attribute}}
561
561
UnlockableMu ab_var_arg_bad_5 ACQUIRED_BEFORE (mu_ab); // \
562
- // expected-warning {{'acquired_before' attribute can only be applied in a context annotated with 'capability("mutex") ' attribute}}
562
+ // expected-warning {{'acquired_before' attribute can only be applied in a context annotated with 'capability' attribute}}
563
563
564
564
565
565
// -----------------------------------------//
You can’t perform that action at this time.
0 commit comments