File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3975,7 +3975,7 @@ def warn_acquired_before : Warning<
3975
3975
"%0 '%1' must be acquired before '%2'">,
3976
3976
InGroup<ThreadSafetyAnalysis>, DefaultIgnore;
3977
3977
def warn_acquired_before_after_cycle : Warning<
3978
- "Cycle in acquired_before/after dependencies, starting with '%0'">,
3978
+ "cycle in acquired_before/after dependencies, starting with '%0'">,
3979
3979
InGroup<ThreadSafetyAnalysis>, DefaultIgnore;
3980
3980
3981
3981
Original file line number Diff line number Diff line change @@ -5838,12 +5838,12 @@ class Foo5 {
5838
5838
5839
5839
5840
5840
class Foo6 {
5841
- Mutex mu1 ACQUIRED_AFTER (mu3); // expected-warning {{Cycle in acquired_before/after dependencies, starting with 'mu1'}}
5842
- Mutex mu2 ACQUIRED_AFTER (mu1); // expected-warning {{Cycle in acquired_before/after dependencies, starting with 'mu2'}}
5843
- Mutex mu3 ACQUIRED_AFTER (mu2); // expected-warning {{Cycle in acquired_before/after dependencies, starting with 'mu3'}}
5841
+ Mutex mu1 ACQUIRED_AFTER (mu3); // expected-warning {{cycle in acquired_before/after dependencies, starting with 'mu1'}}
5842
+ Mutex mu2 ACQUIRED_AFTER (mu1); // expected-warning {{cycle in acquired_before/after dependencies, starting with 'mu2'}}
5843
+ Mutex mu3 ACQUIRED_AFTER (mu2); // expected-warning {{cycle in acquired_before/after dependencies, starting with 'mu3'}}
5844
5844
5845
- Mutex mu_b ACQUIRED_BEFORE (mu_b); // expected-warning {{Cycle in acquired_before/after dependencies, starting with 'mu_b'}}
5846
- Mutex mu_a ACQUIRED_AFTER (mu_a); // expected-warning {{Cycle in acquired_before/after dependencies, starting with 'mu_a'}}
5845
+ Mutex mu_b ACQUIRED_BEFORE (mu_b); // expected-warning {{cycle in acquired_before/after dependencies, starting with 'mu_b'}}
5846
+ Mutex mu_a ACQUIRED_AFTER (mu_a); // expected-warning {{cycle in acquired_before/after dependencies, starting with 'mu_a'}}
5847
5847
5848
5848
void test0 () {
5849
5849
mu_a.Lock ();
You can’t perform that action at this time.
0 commit comments