Lines Matching refs:gnu
5 [[gnu::this_attribute_does_not_exist]] int unknown_attr;
7 int [[gnu::unused]] attr_on_type;
9 int *[[gnu::unused]] attr_on_ptr;
11 [[gnu::fastcall]] void pr17424_1();
13 [[gnu::fastcall]] [[gnu::stdcall]] void pr17424_2();
16 [[gnu::fastcall]] __stdcall void pr17424_3();
19 [[gnu::fastcall]] void pr17424_4() [[gnu::stdcall]];
22 void pr17424_5 [[gnu::fastcall]]();
27 void aliasb [[gnu::alias("_Z6alias1v")]] ();
29 void aliasa [[gnu::alias("_Z6alias1v")]] ();
32 } PR22493 [[gnu::alias("_ZN7pcrecpp2RE6no_argE")]];
34 [[gnu::aligned(8)]] int aligned;
35 void aligned_fn [[gnu::aligned(32)]] ();
36 struct [[gnu::aligned(8)]] aligned_struct {};
38 void always_inline [[gnu::always_inline]] ();
40 __thread int tls_model [[gnu::tls_model("local-exec")]];
43 int n [[gnu::cleanup(cleanup)]]; in cleanup()
46 void deprecated1 [[gnu::deprecated]] (); // expected-note {{here}}
47 [[gnu::deprecated("custom message")]] void deprecated2(); // expected-note {{here}}
53 [[gnu::naked(1,2,3)]] void naked(); // expected-error {{takes no arguments}}
55 void nonnull [[gnu::nonnull]] (); // expected-warning {{applied to function with no pointer argumen…
59 int noreturn [[gnu::noreturn]]; // expected-warning {{'noreturn' only applies to function types}}
61 int noreturn_fn_2() [[gnu::noreturn]]; // expected-warning {{cannot be applied to a type}}
62 int noreturn_fn_3 [[gnu::noreturn]] ();
63 [[gnu::noreturn]] int noreturn_fn_4();
64 int (*noreturn_fn_ptr_1 [[gnu::noreturn]])() = &noreturn_fn_1; // expected-error {{cannot initializ…
65 int (*noreturn_fn_ptr_2 [[gnu::noreturn]])() = &noreturn_fn_3;
66 [[gnu::noreturn]] int (*noreturn_fn_ptr_3)() = &noreturn_fn_1; // expected-error {{cannot initializ…
67 [[gnu::noreturn]] int (*noreturn_fn_ptr_4)() = &noreturn_fn_3;
69 struct [[gnu::packed]] packed { char c; int n; };