HomeSort by relevance Sort by last modified time
    Searched refs:PT_GUARDED_BY (Results 1 - 3 of 3) sorted by null

  /external/clang/test/SemaCXX/
warn-thread-safety-parsing.cpp 7 #define PT_GUARDED_BY(x) __attribute__ ((pt_guarded_by(x)))
360 #if !__has_attribute(pt_guarded_by)
361 #error "Should support pt_guarded_by attribute"
366 int *pgb_var_noargs __attribute__((pt_guarded_by)); // \
369 int *pgb_ptr_var_arg PT_GUARDED_BY(mu1);
371 int *pgb_ptr_var_args __attribute__((pt_guarded_by(mu1, mu2))); // \
374 int pgb_var_args PT_GUARDED_BY(mu1); // \
375 // expected-warning {{'pt_guarded_by' only applies to pointer types; type here is 'int'}}
379 int *pgb_field_noargs __attribute__((pt_guarded_by)); // \
    [all...]
warn-thread-safety-analysis.cpp 10 #define PT_GUARDED_BY(x) __attribute__ ((pt_guarded_by(x)))
374 int *pgb_var __attribute__((pt_guarded_by(sls_mu)));
380 __attribute__((pt_guarded_by(sls_mu)));
516 int *q __attribute__((pt_guarded_by(mu)));
846 // Test various usage of GUARDED_BY and PT_GUARDED_BY annotations, especially
854 int *q PT_GUARDED_BY(mu);
859 int *p GUARDED_BY(mu) PT_GUARDED_BY(mu);
1264 // Test various usage of GUARDED_BY and PT_GUARDED_BY annotations, especially
1272 int *q PT_GUARDED_BY(mu)
    [all...]
  /external/clang/test/PCH/
thread-safety-attrs.cpp 15 #define PT_GUARDED_BY(x) __attribute__ ((pt_guarded_by(x)))

Completed in 41 milliseconds