Lines Matching defs:SA
4 #define SA(...) __attribute__((swift_async(__VA_ARGS__))) macro
6 SA(none) int a; // expected-warning{{'swift_async' attribute only applies to functions and Objectiv… function
8 SA(none) void b(); function
10 SA(not_swift_private, 0) void c(); // expected-error{{'swift_async' attribute parameter 2 is out of… function
11 SA(swift_private, 1) void d(); // expected-error{{'swift_async' attribute parameter 2 is out of bou… function
12 SA(swift_private, 1) void e(int); // expected-error{{'swift_async' completion handler parameter mus… function
13 SA(not_swift_private, 1) void f(int (^)()); // expected-error{{'swift_async' completion handler par… function
14 SA(swift_private, 1) void g(void (^)()); function
16 SA(none, 1) void h(); // expected-error{{'swift_async' attribute takes one argument}} function
17 SA() void i(); // expected-error{{'swift_async' attribute takes at least 1 argument}} function
18 SA(not_swift_private) void j(); // expected-error{{'swift_async' attribute requires exactly 2 argum… function
19 SA(43) void k(); // expected-error{{'swift_async' attribute requires parameter 1 to be an identifie… function
20 SA(not_a_thing, 0) void l(); // expected-error{{first argument to 'swift_async' must be either 'non… function
26 -(void)m4 SA(none); method