Lines Matching refs:__declspec
4 __thread __declspec(thread) int a; // expected-error {{already has a thread-local storage specifier…
5 __declspec(thread) __thread int b; // expected-error {{already has a thread-local storage specifier…
6 __declspec(thread) int c(); // expected-warning {{only applies to variables}}
7 __declspec(thread) int d;
10 __declspec(thread) int e = foo();
12 __declspec(thread) int e = foo(); // expected-error {{must be a constant expression}} expected-note…
17 __declspec(thread) HasCtor f;
19 __declspec(thread) HasCtor f; // expected-error {{must be a constant expression}} expected-note {{t…
24 __declspec(thread) HasDtor g;
26 __declspec(thread) HasCtor g; // expected-error {{must be a constant expression}} expected-note {{t…
33 __declspec(thread) HasDefaultedDefaultCtor h;
39 __declspec(thread) HasConstexprCtor i(42);
42 __declspec(thread) int a; // expected-error {{must have global storage}} in foo()
43 static __declspec(thread) int b; in foo()
46 extern __declspec(thread) int fwd_thread_var;
47 __declspec(thread) int fwd_thread_var = 5;
50 __declspec(thread) int fwd_thread_var_mismatch = 5; // expected-error-re {{thread-local {{.*}} foll…
52 extern __declspec(thread) int thread_mismatch_2; // expected-note {{previous declaration}}
55 typedef __declspec(thread) int tls_int_t; // expected-warning {{only applies to variables}}