Lines Matching refs:thread_local
4 static thread_local int a;
6 thread_local int c; // expected-error {{'thread_local' is only allowed on variable declarations}}
7 static thread_local int d; // expected-note {{here}}
10 thread_local int S::a;
11 thread_local int S::b; // expected-error {{thread-local declaration of 'b' follows non-thread-local…
12 thread_local int S::c; // expected-error {{non-static data member defined out-of-line}}
15 thread_local int x[3];
16 thread_local int y[3];
17 thread_local int z[3]; // expected-note {{previous}}
20 thread_local int x; in f()
21 static thread_local int y; in f()
22 extern thread_local int z; // expected-error {{redeclaration of 'z' with a different type}} in f()