Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-thread-safety-analysis.cpp417 int *pgb_field __attribute__((guarded_by(sls_mu2))) member in PGBFoo
420 pgb_field = &x; // \ in testFoo()
422 …*pgb_field = x; // expected-warning {{reading variable 'pgb_field' requires holding mutex 'sls_mu2… in testFoo()
424 …x = *pgb_field; // expected-warning {{reading variable 'pgb_field' requires holding mutex 'sls_mu2… in testFoo()
426 …(*pgb_field)++; // expected-warning {{reading variable 'pgb_field' requires holding mutex 'sls_mu2… in testFoo()