D | warn-thread-safety-parsing.cpp | 5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro 308 int gb_var_arg GUARDED_BY(mu1); 310 int gb_non_ascii GUARDED_BY(L"wide"); // expected-warning {{ignoring 'guarded_by' attribute because… variable 322 int gb_field_args GUARDED_BY(mu1); 325 class GUARDED_BY(mu1) GB { // \ in GUARDED_BY() function 329 void gb_function() GUARDED_BY(mu1); // \ 332 void gb_function_params(int gv_lvar GUARDED_BY(mu1)); // \ 336 int x GUARDED_BY(mu1) = y; // \ in gb_testfn() local 344 int gb_var_arg_1 GUARDED_BY(muWrapper.mu); variable 345 int gb_var_arg_2 GUARDED_BY(muDoubleWrapper.muWrapper->mu); variable [all …]
|