Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:PT_GUARDED_BY

10 #define PT_GUARDED_BY(x)    __attribute__ ((pt_guarded_by(x)))
380 int *pgb_var __attribute__((pt_guarded_by(sls_mu)));
386 __attribute__((pt_guarded_by(sls_mu)));
522 int *q __attribute__((pt_guarded_by(mu)));
852 // Test various usage of GUARDED_BY and PT_GUARDED_BY annotations, especially
860 int *q PT_GUARDED_BY(mu);
865 int *p GUARDED_BY(mu) PT_GUARDED_BY(mu);
1270 // Test various usage of GUARDED_BY and PT_GUARDED_BY annotations, especially
1278 int *q PT_GUARDED_BY(mu);
1283 int *p GUARDED_BY(mu) PT_GUARDED_BY(mu);
3601 int* d PT_GUARDED_BY(mu1_) PT_GUARDED_BY(mu2_);
3807 Data* datap2_ PT_GUARDED_BY(mu_);
3829 Cell* cp PT_GUARDED_BY(cell_mu_);
3841 Foo* foop PT_GUARDED_BY(mu_);
4183 int* a GUARDED_BY(mu1) PT_GUARDED_BY(mu2);
4184 Cell* c GUARDED_BY(mu1) PT_GUARDED_BY(mu2);
4270 SmartPtr<int> sp GUARDED_BY(mu1) PT_GUARDED_BY(mu2);
4271 SmartPtr<Cell> sq GUARDED_BY(mu1) PT_GUARDED_BY(mu2);
4340 int i PT_GUARDED_BY(sls_mu); // expected-warning {{'pt_guarded_by' only applies to pointer types; type here is 'int'}}
4344 int i PT_GUARDED_BY(sls_mu); // expected-warning {{'pt_guarded_by' attribute only applies to fields and global variables}}
4347 typedef int PT_GUARDED_BY(sls_mu) bad1; // expected-warning {{'pt_guarded_by' attribute only applies to fields and global variables}}