OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:pgb_field
(Results
1 - 1
of
1
) sorted by null
/external/clang/test/SemaCXX/
warn-thread-safety-analysis.cpp
384
int *
pgb_field
__attribute__((guarded_by(sls_mu2)))
member in class:PGBFoo
387
pgb_field
= &x; // \
388
// expected-warning {{writing variable '
pgb_field
' requires locking 'sls_mu2' exclusively}}
389
*
pgb_field
= x; // expected-warning {{reading variable '
pgb_field
' requires locking 'sls_mu2'}} \
390
// expected-warning {{writing the value pointed to by '
pgb_field
' requires locking 'sls_mu' exclusively}}
391
x = *
pgb_field
; // expected-warning {{reading variable '
pgb_field
' requires locking 'sls_mu2'}} \
392
// expected-warning {{reading the value pointed to by '
pgb_field
' requires locking 'sls_mu'}}
393
(*
pgb_field
)++; // expected-warning {{reading variable 'pgb_field' requires locking 'sls_mu2'}}
[
all
...]
Completed in 313 milliseconds