Lines Matching refs:omp
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 2 {{firstprivate variable must have an accessible, unambiguous copy constructor}}
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
137 int i; // expected-note {{variable with automatic storage duration is predetermined as private; perhaps you forget to enclose 'omp sections' directive into a parallel or another task region?}}
138 #pragma omp sections firstprivate(i) // expected-error {{private variable cannot be firstprivate}}
144 #pragma omp parallel shared(i)
145 #pragma omp parallel private(i)
146 #pragma omp sections firstprivate(j) // expected-error {{arguments of OpenMP clause 'firstprivate' cannot be of reference type}}
150 #pragma omp parallel
151 #pragma omp sections firstprivate(i)
155 #pragma omp parallel
156 #pragma omp sections lastprivate(g) firstprivate(g) // expected-error {{firstprivate variable must have an accessible, unambiguous copy constructor}}
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}}
182 #pragma omp parallel
183 #pragma omp sections firstprivate // expected-error {{expected '(' after 'firstprivate'}}
187 #pragma omp parallel
188 #pragma omp sections firstprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
192 #pragma omp parallel
193 #pragma omp sections firstprivate() // expected-error {{expected expression}}
197 #pragma omp parallel
198 #pragma omp sections firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
202 #pragma omp parallel
203 #pragma omp sections firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
207 #pragma omp parallel
208 #pragma omp sections firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
212 #pragma omp parallel
213 #pragma omp sections firstprivate(argc)
217 #pragma omp parallel
218 #pragma omp sections firstprivate(S1) // expected-error {{'S1' does not refer to a value}}
222 #pragma omp parallel
223 #pragma omp sections firstprivate(a, b, c, d, f) // expected-error {{firstprivate variable with incomplete type 'S1'}}
227 #pragma omp parallel
228 #pragma omp sections firstprivate(argv[1]) // expected-error {{expected variable name}}
232 #pragma omp parallel
233 #pragma omp sections firstprivate(2 * 2) // expected-error {{expected variable name}}
237 #pragma omp parallel
238 #pragma omp sections firstprivate(ba) // OK
242 #pragma omp parallel
243 #pragma omp sections firstprivate(ca) // OK
247 #pragma omp parallel
248 #pragma omp sections firstprivate(da) // OK
253 #pragma omp parallel
254 #pragma omp sections firstprivate(xa) // OK
258 #pragma omp parallel
259 #pragma omp sections firstprivate(S2::S2s) // OK
263 #pragma omp parallel
264 #pragma omp sections firstprivate(S2::S2sc) // OK
268 #pragma omp parallel
269 #pragma omp sections safelen(5) // expected-error {{unexpected OpenMP clause 'safelen' in directive '#pragma omp sections'}}
273 #pragma omp parallel
274 #pragma omp sections firstprivate(e, g) // expected-error 2 {{firstprivate variable must have an accessible, unambiguous copy constructor}}
278 #pragma omp parallel
279 #pragma omp sections firstprivate(m) // OK
283 #pragma omp parallel
284 #pragma omp sections firstprivate(h) // expected-error {{threadprivate or thread local variable cannot be firstprivate}}
288 #pragma omp parallel
289 #pragma omp sections private(xa), firstprivate(xa) // expected-error {{private variable cannot be firstprivate}} expected-note {{defined as private}}
293 #pragma omp parallel shared(xa)
294 #pragma omp sections firstprivate(xa) // OK: may be firstprivate
298 #pragma omp parallel
299 #pragma omp sections firstprivate(j) // expected-error {{arguments of OpenMP clause 'firstprivate' cannot be of reference type}}
303 #pragma omp parallel
304 #pragma omp sections lastprivate(g) firstprivate(g) // expected-error {{firstprivate variable must have an accessible, unambiguous copy constructor}}
308 #pragma omp parallel
309 #pragma omp sections lastprivate(n) firstprivate(n) // OK
313 #pragma omp parallel
316 int i; // expected-note {{variable with automatic storage duration is predetermined as private; perhaps you forget to enclose 'omp sections' directive into a parallel or another task region?}}
317 #pragma omp sections firstprivate(i) // expected-error {{private variable cannot be firstprivate}}
323 #pragma omp parallel private(i) // expected-note {{defined as private}}
324 #pragma omp sections firstprivate(i) // expected-error {{firstprivate variable must be shared}}
328 #pragma omp parallel reduction(+ : i) // expected-note {{defined as reduction}}
329 #pragma omp sections firstprivate(i) // expected-error {{firstprivate variable must be shared}}