Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:SCOPED_LOCKABLE

4 #define SCOPED_LOCKABLE     __attribute__ ((scoped_lockable))
260 #if !__has_attribute(scoped_lockable)
261 #error "Should support scoped_lockable attribute"
264 class SCOPED_LOCKABLE SLTestClass {
267 class __attribute__((scoped_lockable (1))) SLTestClass_args { // \
268 // expected-error {{'scoped_lockable' attribute takes no arguments}}
271 void sl_test_function() SCOPED_LOCKABLE; // \
272 // expected-warning {{'scoped_lockable' attribute only applies to struct, union or class}}
275 int x SCOPED_LOCKABLE = y; // \
276 // expected-warning {{'scoped_lockable' attribute only applies to struct, union or class}}
280 int sl_test_var SCOPED_LOCKABLE; // \
281 // expected-warning {{'scoped_lockable' attribute only applies to struct, union or class}}
285 int test_field SCOPED_LOCKABLE; // \
286 // expected-warning {{'scoped_lockable' attribute only applies to struct, union or class}}
287 void test_method() SCOPED_LOCKABLE; // \
288 // expected-warning {{'scoped_lockable' attribute only applies to struct, union or class}}
292 void sl_function_params(int lvar SCOPED_LOCKABLE); // \
293 // expected-warning {{'scoped_lockable' attribute only applies to struct, union or class}}