Lines Matching refs:__thread
14 __thread int t1; // thread-local-warning {{'_Thread_local' is a C11 extension}}
15 __thread extern int t2; // thread-local-warning {{'_Thread_local' is a C11 extension}}
16 __thread static int t3; // thread-local-warning {{'_Thread_local' is a C11 extension}}
22 __thread __private_extern__ int t4; // thread-local-warning {{'_Thread_local' is a C11 extension}}
23 struct t5 { __thread int x; }; // thread-local-warning {{'_Thread_local' is a C11 extension}}
31 __thread int t6(); // thread-local-warning {{'_Thread_local' is a C11 extension}}
40 int f(__thread int t7) { // expected-error {{' is only allowed on variable declarations}} \ in f()
42 __thread int t8; // thread-local-warning {{'_Thread_local' is a C11 extension}} in f()
48 extern __thread int t9; // thread-local-warning {{'_Thread_local' is a C11 extension}} in f()
49 static __thread int t10; // thread-local-warning {{'_Thread_local' is a C11 extension}} in f()
50 …__thread __private_extern__ int t11; // thread-local-warning {{'_Thread_local' is a C11 extension}} in f()
52 …__thread auto int t12a; // expected-error-re {{cannot combine with previous '{{__thread|_Thread_lo… in f()
54 …auto __thread int t12b; // expected-error {{cannot combine with previous 'auto' declaration specif… in f()
57 __thread auto t12a = 0; // expected-error {{'_Thread_local' variables must have global storage}} \ in f()
59 auto __thread t12b = 0; // expected-error {{'_Thread_local' variables must have global storage}} \ in f()
62 …__thread register int t13a; // expected-error-re {{cannot combine with previous '{{__thread|_Threa… in f()
64 …register __thread int t13b; // expected-error {{cannot combine with previous 'register' declaratio… in f()
68 __thread typedef int t14; // expected-error-re {{cannot combine with previous '{{__thread|_Thread_l…
70 __thread int t15; // expected-note {{previous definition is here}} \
74 __thread int t16; // expected-error {{thread-local declaration of 't16' follows non-thread-local de…
87 __thread int thread_int; // thread-local-warning {{'_Thread_local' is a C11 extension}}
100 __thread int non_const_init = non_const(); // thread-local-warning {{'_Thread_local' is a C11 exten…
114 __thread S s; // thread-local-warning {{'_Thread_local' is a C11 extension}}
127 __thread HasCtor var_with_ctor; // thread-local-warning {{'_Thread_local' is a C11 extension}}
136 __thread int aggregate[10] = {0}; // thread-local-warning {{'_Thread_local' is a C11 extension}}