Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:warning

52   void test1() {  // expected-note {{Thread warning in function 'test1'}}
53 a = 0; // expected-warning {{writing variable 'a' requires holding mutex 'mu' exclusively}}
56 void test2() { // expected-note {{Thread warning in function 'test2'}}
57 int b = a; // expected-warning {{reading variable 'a' requires holding mutex 'mu'}}
60 void test3() { // expected-note {{Thread warning in function 'test3'}}
61 foo1(); // expected-warning {{calling function 'foo1' requires holding mutex 'mu' exclusively}}
64 void test4() { // expected-note {{Thread warning in function 'test4'}}
65 foo2(); // expected-warning {{calling function 'foo2' requires holding mutex 'mu'}}
68 void test5() { // expected-note {{Thread warning in function 'test5'}}
70 foo1(); // expected-warning {{calling function 'foo1' requires holding mutex 'mu' exclusively}}
74 void test6() { // expected-note {{Thread warning in function 'test6'}}
76 a = 0; // expected-warning {{writing variable 'a' requires holding mutex 'mu' exclusively}}
80 void test7() { // expected-note {{Thread warning in function 'test7'}}
82 foo3(); // expected-warning {{cannot call function 'foo3' while mutex 'mu' is held}}