Home
last modified time | relevance | path

Searched refs:pgb_field (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp427 int *pgb_field __attribute__((guarded_by(sls_mu2))) member in PGBFoo
430 pgb_field = &x; // \ in testFoo()
432 …*pgb_field = x; // expected-warning {{reading variable 'pgb_field' requires holding mutex 'sls_mu2… in testFoo()
434 …x = *pgb_field; // expected-warning {{reading variable 'pgb_field' requires holding mutex 'sls_mu2… in testFoo()
436 …(*pgb_field)++; // expected-warning {{reading variable 'pgb_field' requires holding mutex 'sls_mu2… in testFoo()