Lines Matching full:pragma
61 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}}
69 #pragma omp parallel
70 #pragma omp sections firstprivate // expected-error {{expected '(' after 'firstprivate'}}
74 #pragma omp parallel
75 #pragma omp sections firstprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
79 #pragma omp parallel
80 #pragma omp sections firstprivate() // expected-error {{expected expression}}
84 #pragma omp parallel
85 #pragma omp sections firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
89 #pragma omp parallel
90 #pragma omp sections firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
94 #pragma omp parallel
95 #pragma omp sections firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
99 #pragma omp parallel
100 #pragma omp sections firstprivate(argc)
104 #pragma omp parallel
105 #pragma omp sections firstprivate(S1) // expected-error {{'S1' does not refer to a value}}
109 #pragma omp parallel
110 #pragma omp sections firstprivate(a, b) // expected-error {{firstprivate variable with incomplete type 'S1'}}
114 #pragma omp parallel
115 #pragma omp sections firstprivate(argv[1]) // expected-error {{expected variable name}}
119 #pragma omp parallel
120 #pragma omp sections firstprivate(e, g) // expected-error {{calling a private constructor of class 'S4'}} expected-error {{calling a private constructor of class 'S5'}}
124 #pragma omp parallel
125 #pragma omp sections firstprivate(h) // expected-error {{threadprivate or thread local variable cannot be firstprivate}}
129 #pragma omp parallel
130 #pragma omp sections linear(i) // expected-error {{unexpected OpenMP clause 'linear' in directive '#pragma omp sections'}}
134 #pragma omp parallel
138 #pragma omp sections firstprivate(i) // expected-error {{firstprivate variable must be shared}}
144 #pragma omp parallel shared(i)
145 #pragma omp parallel private(i)
146 #pragma omp sections firstprivate(j)
150 #pragma omp parallel
151 #pragma omp sections firstprivate(i)
155 #pragma omp parallel
156 #pragma omp sections lastprivate(g) firstprivate(g) // expected-error {{calling a private constructor of class 'S5'}}
160 #pragma omp parallel private(i) // expected-note {{defined as private}}
161 #pragma omp sections firstprivate(i) // expected-error {{firstprivate variable must be shared}}
165 #pragma omp parallel reduction(+ : i) // expected-note {{defined as reduction}}
166 #pragma omp sections firstprivate(i) // expected-error {{firstprivate variable must be shared}}
175 #pragma omp threadprivate(x) // expected-note {{defined as threadprivate or thread local}}
190 #pragma omp parallel
191 #pragma omp sections firstprivate // expected-error {{expected '(' after 'firstprivate'}}
195 #pragma omp parallel
196 #pragma omp sections firstprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
200 #pragma omp parallel
201 #pragma omp sections firstprivate() // expected-error {{expected expression}}
205 #pragma omp parallel
206 #pragma omp sections firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
210 #pragma omp parallel
211 #pragma omp sections firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
215 #pragma omp parallel
216 #pragma omp sections firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
220 #pragma omp parallel
221 #pragma omp sections firstprivate(argc)
225 #pragma omp parallel
226 #pragma omp sections firstprivate(S1) // expected-error {{'S1' does not refer to a value}}
230 #pragma omp parallel
231 #pragma omp sections firstprivate(a, b, c, d, f) // expected-error {{firstprivate variable with incomplete type 'S1'}}
235 #pragma omp parallel
236 #pragma omp sections firstprivate(argv[1]) // expected-error {{expected variable name}}
240 #pragma omp parallel
241 #pragma omp sections firstprivate(2 * 2) // expected-error {{expected variable name}}
245 #pragma omp parallel
246 #pragma omp sections firstprivate(ba) // OK
250 #pragma omp parallel
251 #pragma omp sections firstprivate(ca) // OK
255 #pragma omp parallel
256 #pragma omp sections firstprivate(da) // OK
261 #pragma omp parallel
262 #pragma omp sections firstprivate(xa) // OK
266 #pragma omp parallel
267 #pragma omp sections firstprivate(S2::S2s) // OK
271 #pragma omp parallel
272 #pragma omp sections firstprivate(S2::S2sc) // OK
276 #pragma omp parallel
277 #pragma omp sections safelen(5) // expected-error {{unexpected OpenMP clause 'safelen' in directive '#pragma omp sections'}}
281 #pragma omp parallel
282 #pragma omp sections firstprivate(e, g) // expected-error {{calling a private constructor of class 'S4'}} expected-error {{calling a private constructor of class 'S5'}}
286 #pragma omp parallel
287 #pragma omp sections firstprivate(m) // OK
291 #pragma omp parallel
292 #pragma omp sections firstprivate(h, B::x) // expected-error 2 {{threadprivate or thread local variable cannot be firstprivate}}
296 #pragma omp parallel
297 #pragma omp sections private(xa), firstprivate(xa) // expected-error {{private variable cannot be firstprivate}} expected-note {{defined as private}}
301 #pragma omp parallel shared(xa)
302 #pragma omp sections firstprivate(xa) // OK: may be firstprivate
306 #pragma omp parallel
307 #pragma omp sections firstprivate(j)
311 #pragma omp parallel
312 #pragma omp sections lastprivate(g) firstprivate(g) // expected-error {{calling a private constructor of class 'S5'}}
316 #pragma omp parallel
317 #pragma omp sections lastprivate(n) firstprivate(n) // OK
321 #pragma omp parallel
325 #pragma omp sections firstprivate(i) // expected-error {{firstprivate variable must be shared}}
331 #pragma omp parallel private(i) // expected-note {{defined as private}}
332 #pragma omp sections firstprivate(i) // expected-error {{firstprivate variable must be shared}}
336 #pragma omp parallel reduction(+ : i) // expected-note {{defined as reduction}}
337 #pragma omp sections firstprivate(i) // expected-error {{firstprivate variable must be shared}}
342 #pragma omp sections firstprivate(r) // OK