Lines Matching full:pragma
71 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}}
84 #pragma omp parallel
85 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}}
89 #pragma omp parallel
90 #pragma omp sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp sections' are ignored}}
94 #pragma omp parallel
95 #pragma omp sections reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}}
99 #pragma omp parallel
100 #pragma omp sections reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
104 #pragma omp parallel
105 #pragma omp sections reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
109 #pragma omp parallel
110 #pragma omp sections reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}}
114 #pragma omp parallel
115 #pragma omp sections reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
119 #pragma omp parallel
120 #pragma omp sections reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{invalid operands to binary expression ('float' and 'float')}}
124 #pragma omp parallel
125 #pragma omp sections reduction(| : argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{invalid operands to binary expression ('float' and 'float')}}
129 #pragma omp parallel
130 #pragma omp sections reduction(|| : argc ? i : argc) // expected-error 2 {{expected variable name, array element or array section}}
134 #pragma omp parallel
135 #pragma omp sections reduction(foo : argc) //expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max' or declare reduction for type 'float'}} expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max' or declare reduction for type 'int'}}
139 #pragma omp parallel
140 #pragma omp sections reduction(&& : argc)
144 #pragma omp parallel
145 #pragma omp sections reduction(^ : T) // expected-error {{'T' does not refer to a value}}
149 #pragma omp parallel
150 #pragma omp sections reduction(+ : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}} expected-error 3 {{const-qualified list item cannot be reduction}} expected-error 2 {{'operator+' is a private member of 'S2'}}
154 #pragma omp parallel
155 #pragma omp sections reduction(min : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}} expected-error 4 {{arguments of OpenMP clause 'reduction' for 'min' or 'max' must be of arithmetic type}} expected-error 3 {{const-qualified list item cannot be reduction}}
159 #pragma omp parallel
160 #pragma omp sections reduction(max : h.b) // expected-error {{expected variable name, array element or array section}}
164 #pragma omp parallel
165 #pragma omp sections reduction(+ : ba) // expected-error {{const-qualified list item cannot be reduction}}
169 #pragma omp parallel
170 #pragma omp sections reduction(* : ca) // expected-error {{const-qualified list item cannot be reduction}}
174 #pragma omp parallel
175 #pragma omp sections reduction(- : da) // expected-error {{const-qualified list item cannot be reduction}} expected-error {{const-qualified list item cannot be reduction}}
179 #pragma omp parallel
180 #pragma omp sections reduction(^ : fl) // expected-error {{invalid operands to binary expression ('float' and 'float')}}
184 #pragma omp parallel
185 #pragma omp sections reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
189 #pragma omp parallel
190 #pragma omp sections reduction(&& : S2::S2sc) // expected-error {{const-qualified list item cannot be reduction}}
194 #pragma omp parallel
195 #pragma omp sections reduction(+ : h, k) // expected-error {{threadprivate or thread local variable cannot be reduction}}
199 #pragma omp parallel
200 #pragma omp sections reduction(+ : o) // expected-error 2 {{no viable overloaded '='}}
204 #pragma omp parallel
205 #pragma omp sections private(i), reduction(+ : j), reduction(+ : q) // expected-error 4 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
209 #pragma omp parallel private(k)
210 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
214 #pragma omp parallel
215 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 2 {{variable can appear only once in OpenMP 'reduction' clause}} expected-note 2 {{previously referenced here}}
219 #pragma omp parallel
220 #pragma omp sections reduction(+ : r) // expected-error 2 {{const-qualified list item cannot be reduction}}
224 #pragma omp parallel shared(i)
225 #pragma omp parallel reduction(min : i)
226 #pragma omp sections reduction(max : j) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
230 #pragma omp parallel private(fl) // expected-note 2 {{defined as private}}
231 #pragma omp sections reduction(+ : fl) // expected-error 2 {{reduction variable must be shared}}
235 #pragma omp parallel reduction(* : fl) // expected-note 2 {{defined as reduction}}
236 #pragma omp sections reduction(+ : fl) // expected-error 2 {{reduction variable must be shared}}
246 #pragma omp threadprivate(x) // expected-note {{defined as threadprivate or thread local}}
264 #pragma omp parallel
265 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}}
269 #pragma omp parallel
270 #pragma omp sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp sections' are ignored}}
274 #pragma omp parallel
275 #pragma omp sections reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}}
279 #pragma omp parallel
280 #pragma omp sections reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
284 #pragma omp parallel
285 #pragma omp sections reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
289 #pragma omp parallel
290 #pragma omp sections reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}}
294 #pragma omp parallel
295 #pragma omp sections reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}}
299 #pragma omp parallel
300 #pragma omp sections reduction(foo : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{incorrect reduction identifier, expected one of '+', '-', '*', '&', '|', '^', '&&', '||', 'min' or 'max'}}
304 #pragma omp parallel
305 #pragma omp sections reduction(| : argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
309 #pragma omp parallel
310 #pragma omp sections reduction(|| : argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name, array element or array section}}
314 #pragma omp parallel
315 #pragma omp sections reduction(~ : argc) // expected-error {{expected unqualified-id}}
319 #pragma omp parallel
320 #pragma omp sections reduction(&& : argc)
324 #pragma omp parallel
325 #pragma omp sections reduction(^ : S1) // expected-error {{'S1' does not refer to a value}}
329 #pragma omp parallel
330 #pragma omp sections reduction(+ : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}} expected-error 2 {{const-qualified list item cannot be reduction}} expected-error {{'operator+' is a private member of 'S2'}}
334 #pragma omp parallel
335 #pragma omp sections reduction(min : a, b, c, d, f) // expected-error {{a reduction list item with incomplete type 'S1'}} expected-error 2 {{arguments of OpenMP clause 'reduction' for 'min' or 'max' must be of arithmetic type}} expected-error 2 {{const-qualified list item cannot be reduction}}
339 #pragma omp parallel
340 #pragma omp sections reduction(max : h.b) // expected-error {{expected variable name, array element or array section}}
344 #pragma omp parallel
345 #pragma omp sections reduction(+ : ba) // expected-error {{const-qualified list item cannot be reduction}}
349 #pragma omp parallel
350 #pragma omp sections reduction(* : ca) // expected-error {{const-qualified list item cannot be reduction}}
354 #pragma omp parallel
355 #pragma omp sections reduction(- : da) // expected-error {{const-qualified list item cannot be reduction}}
359 #pragma omp parallel
360 #pragma omp sections reduction(^ : fl) // expected-error {{invalid operands to binary expression ('float' and 'float')}}
364 #pragma omp parallel
365 #pragma omp sections reduction(&& : S2::S2s) // expected-error {{shared variable cannot be reduction}}
369 #pragma omp parallel
370 #pragma omp sections reduction(&& : S2::S2sc) // expected-error {{const-qualified list item cannot be reduction}}
374 #pragma omp parallel
375 #pragma omp sections reduction(& : e, g) // expected-error {{calling a private constructor of class 'S4'}} expected-error {{invalid operands to binary expression ('S4' and 'S4')}} expected-error {{calling a private constructor of class 'S5'}} expected-error {{invalid operands to binary expression ('S5' and 'S5')}}
379 #pragma omp parallel
380 #pragma omp sections reduction(+ : h, k, B::x) // expected-error 2 {{threadprivate or thread local variable cannot be reduction}}
384 #pragma omp parallel
385 #pragma omp sections reduction(+ : o) // expected-error {{no viable overloaded '='}}
389 #pragma omp parallel
390 #pragma omp sections private(i), reduction(+ : j), reduction(+ : q) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
394 #pragma omp parallel private(k)
395 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error 2 {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
399 #pragma omp parallel
400 #pragma omp sections reduction(+ : p), reduction(+ : p) // expected-error {{variable can appear only once in OpenMP 'reduction' clause}} expected-note {{previously referenced here}}
404 #pragma omp parallel
405 #pragma omp sections reduction(+ : r) // expected-error {{const-qualified list item cannot be reduction}}
409 #pragma omp parallel shared(i)
410 #pragma omp parallel reduction(min : i)
411 #pragma omp sections reduction(max : j) // expected-error {{argument of OpenMP clause 'reduction' must reference the same object in all threads}}
415 #pragma omp parallel private(fl) // expected-note {{defined as private}}
416 #pragma omp sections reduction(+ : fl) // expected-error {{reduction variable must be shared}}
420 #pragma omp parallel reduction(* : fl) // expected-note {{defined as reduction}}
421 #pragma omp sections reduction(+ : fl) // expected-error {{reduction variable must be shared}}
426 #pragma omp sections reduction(+ : m) // OK