Home | History | Annotate | Download | only in Sema

Lines Matching full:warning

77   Foo_fun1(1); // expected-warning{{calling function 'Foo_fun1' requires holding mutex 'mu2'}} \
78 expected-warning{{calling function 'Foo_fun1' requires holding mutex 'mu1' exclusively}}
84 mutex_shared_lock(&mu1); // expected-warning{{acquiring mutex 'mu1' that is already held}} \
85 expected-warning{{mutex 'mu1' must be acquired before 'mu2'}}
99 Foo_func3(4); // expected-warning{{cannot call function 'Foo_func3' while mutex 'mu1' is held}}
104 set_value(&a_, 0); // expected-warning{{calling function 'set_value' requires holding mutex 'foo_.mu_' exclusively}}
105 get_value(b_); // expected-warning{{calling function 'get_value' requires holding mutex 'foo_.mu_'}}
113 c_ = 0; // expected-warning{{writing variable 'c_' requires holding any mutex exclusively}}
114 (void)(*d_ == 0); // expected-warning{{reading the value pointed to by 'd_' requires holding any mutex}}
121 mutex_shared_unlock(&mu1); // expected-warning {{releasing mutex 'mu1' using shared access, expected exclusive access}}
122 mutex_exclusive_unlock(&mu1); // expected-warning {{releasing mutex 'mu1' that was not held}}
125 mutex_exclusive_unlock(&mu1); // expected-warning {{releasing mutex 'mu1' using exclusive access, expected shared access}}
126 mutex_shared_unlock(&mu1); // expected-warning {{releasing mutex 'mu1' that was not held}}