Lines Matching full:pragma
3 #pragma omp threadprivate // expected-error {{expected '(' after 'threadprivate'}}
4 #pragma omp threadprivate( // expected-error {{expected identifier}} expected-error {{expected ')'}} expected-note {{to match this '('}}
5 #pragma omp threadprivate() // expected-error {{expected identifier}}
6 #pragma omp threadprivate(1) // expected-error {{expected unqualified-id}}
12 #pragma omp threadprivate(1) // expected-error {{expected unqualified-id}}
18 #pragma omp threadprivate(a)
19 #pragma omp threadprivate(u) // expected-error {{use of undeclared identifier 'u'}}
20 #pragma omp threadprivate(d, a) // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'a'}}
23 #pragma omp threadprivate(l)) // expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}}
27 #pragma omp threadprivate a // expected-error {{expected '(' after 'threadprivate'}}
28 #pragma omp threadprivate(d // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{'#pragma omp threadprivate' must precede all references to variable 'd'}}
29 #pragma omp threadprivate(d)) // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'd'}} expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}}
31 #pragma omp threadprivate(x)) // expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}}
32 #pragma omp threadprivate(y)), // expected-warning {{extra tokens at the end of '#pragma omp threadprivate' are ignored}}
33 #pragma omp threadprivate(a,d) // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'a'}} expected-error {{'#pragma omp threadprivate' must precede all references to variable 'd'}}
34 #pragma omp threadprivate(d.a) // expected-error {{expected identifier}}
35 #pragma omp threadprivate((float)a) // expected-error {{expected unqualified-id}}
37 #pragma omp threadprivate(faa) // expected-error {{use of undeclared identifier 'faa'; did you mean 'foa'?}}
38 #pragma omp threadprivate(foo) // expected-error {{'foo' is not a global variable, static local variable or static data member}}
39 #pragma omp threadprivate (int a=2) // expected-error {{expected unqualified-id}}
44 #pragma omp threadprivate (e) // expected-error {{threadprivate variable with incomplete type 'IncompleteSt'}}
47 #pragma omp threadprivate (f) // expected-error {{arguments of '#pragma omp threadprivate' cannot be of reference type 'int &'}}
56 #pragma omp threadprivate (b, a) // expected-error {{'a' is not a global variable, static local variable or static data member}}
58 #pragma omp threadprivate (b) // expected-error {{use of undeclared identifier 'b'}}
59 #pragma omp threadprivate (Class::b) // expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'Class::b' variable declaration}}
60 #pragma omp threadprivate (g)
64 #pragma omp threadprivate (m)
66 #pragma omp threadprivate (m) // expected-error {{use of undeclared identifier 'm'}}
67 #pragma omp threadprivate (ns::m) // expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'ns::m' variable declaration}}
68 #pragma omp threadprivate (ns:m) // expected-error {{unexpected ':' in nested name specifier; did you mean '::'?}} expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'ns::m' variable declaration}}
72 #pragma omp threadprivate (h, i)
83 #pragma omp threadprivate (s)
85 #pragma omp threadprivate (s) // expected-error {{use of undeclared identifier 's'}}
88 #pragma omp threadprivate (t) // expected-error {{variable 't' cannot be threadprivate because it is thread-local}}
91 #pragma omp threadprivate (o)
94 #pragma omp threadprivate (o)
95 #pragma omp threadprivate (o) // expected-error {{'#pragma omp threadprivate' must precede all references to variable '<anonymous namespace>::o'}}
97 #pragma omp threadprivate (o) // expected-error {{reference to 'o' is ambiguous}}
98 #pragma omp threadprivate (::o) // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'o'}}
110 #pragma omp threadprivate(argc+y) // expected-error {{expected identifier}}
111 #pragma omp threadprivate(argc,y) // expected-error 2 {{arguments of '#pragma omp threadprivate' must have static storage duration}}
112 #pragma omp threadprivate(d2) // expected-error {{'#pragma omp threadprivate' must precede all references to variable 'd2'}}
113 #pragma omp threadprivate(d1)
116 #pragma omp threadprivate(d3) // expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'd3' variable declaration}}
118 #pragma omp threadprivate(d3)
120 #pragma omp threadprivate(a) // expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'a' variable declaration}}
122 #pragma omp threadprivate(d) // expected-error {{'#pragma omp threadprivate' must appear in the scope of the 'd' variable declaration}}