Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:foo2

568   LateFoo Foo2;
632 BarA.Foo2.a = 2; // \
633 // expected-warning{{writing variable 'a' requires holding mutex 'BarA.Foo2.mu' exclusively}} \
1650 void foo2() {
1720 void foo2() {
1843 class Foo2 {
1910 BarT<Foo2> bt;
1912 Foo2 f2;
2049 void foo2();
2076 void Foo::foo2() EXCLUSIVE_LOCKS_REQUIRED(mu_) {
2119 myFoo.foo2(); // \
2120 // expected-warning {{calling function 'foo2' requires holding mutex 'myFoo.mu_' exclusively}}
2137 myFoo.foo2();
2402 void foo2(Foo* f) EXCLUSIVE_LOCKS_REQUIRED(mu_, f->mu_);
2419 f1->foo2(f2); // expected-warning {{calling function 'foo2' requires holding mutex 'f1->mu_' exclusively}} \
2420 // expected-warning {{calling function 'foo2' requires holding mutex 'f2->mu_' exclusively}}
2427 f1->foo2(f2); // \
2428 // expected-warning {{calling function 'foo2' requires holding mutex 'f2->mu_' exclusively}} \
2432 f1->foo2(f2);
2596 int foo2() SHARED_LOCKS_REQUIRED(mu_);
2604 int Foo::foo2() SHARED_LOCKS_REQUIRED(mu_) {
2623 void foo2() SHARED_LOCKS_REQUIRED(mutex_) { // expected-note {{mutex acquired here}}
3155 void foo2() LOCKS_EXCLUDED(&Graph::mu_);
3165 n1.foo2();
3170 n1.foo2(); // expected-warning {{cannot call function 'foo2' while mutex '&ExistentialPatternMatching::Graph::mu_' is held}}
3176 n1.foo2(); // expected-warning {{cannot call function 'foo2' while mutex '&ExistentialPatternMatching::Graph::mu_' is held}}
3182 n1.foo2(); // expected-warning {{cannot call function 'foo2' while mutex '&ExistentialPatternMatching::Graph::mu_' is held}}
3662 void foo2() SHARED_LOCKS_REQUIRED(mu1_)
3692 void Foo::foo2() {
3712 foo2(); // expected-warning {{}}
4780 Foo foo2 GUARDED_BY(mu);
4816 foo + foo2; // expected-warning {{reading variable 'foo' requires holding mutex 'mu'}} \
4817 // expected-warning {{passing variable 'foo2' by reference requires holding mutex 'mu'}}
4818 foo / foo2; // expected-warning {{reading variable 'foo' requires holding mutex 'mu'}} \
4819 // expected-warning {{passing variable 'foo2' by reference requires holding mutex 'mu'}}
4820 foo * foo2; // expected-warning {{reading variable 'foo' requires holding mutex 'mu'}} \
4821 // expected-warning {{passing variable 'foo2' by reference requires holding mutex 'mu'}}
4822 foo[foo2]; // expected-warning {{reading variable 'foo' requires holding mutex 'mu'}} \
4823 // expected-warning {{passing variable 'foo2' by reference requires holding mutex 'mu'}}
4905 class Foo2 {