Lines Matching +full:- +full:x
1 // RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 %s
7 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
8 // expected-note@+1 {{expected an expression statement}} in foo()
11 goto L1; // expected-error {{use of undeclared label 'L1'}} in foo()
13 goto L2; // expected-error {{use of undeclared label 'L2'}} in foo()
15 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in foo()
16 // expected-note@+1 {{expected an expression statement}} in foo()
34 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readint()
35 // expected-note@+1 {{expected an expression statement}} in readint()
38 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readint()
39 // expected-note@+1 {{expected built-in assignment operator}} in readint()
42 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readint()
43 // expected-note@+1 {{expected built-in assignment operator}} in readint()
46 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readint()
47 // expected-note@+1 {{expected lvalue expression}} in readint()
51 // expected-error@+1 {{directive '#pragma omp atomic' cannot contain more than one 'read' clause}} in readint()
60 // expected-error@+1 {{directive '#pragma omp atomic' cannot contain more than one 'read' clause}} in readS()
62 …// expected-error@+2 {{the statement for 'atomic read' must be an expression statement of form 'v … in readS()
63 // expected-note@+1 {{expected expression of scalar type}} in readS()
73 …// expected-error@+2 {{the statement for 'atomic write' must be an expression statement of form 'x… in writeint()
74 // expected-note@+1 {{expected an expression statement}} in writeint()
77 …// expected-error@+2 {{the statement for 'atomic write' must be an expression statement of form 'x… in writeint()
78 // expected-note@+1 {{expected built-in assignment operator}} in writeint()
81 …// expected-error@+2 {{the statement for 'atomic write' must be an expression statement of form 'x… in writeint()
82 // expected-note@+1 {{expected built-in assignment operator}} in writeint()
88 …// expected-error@+1 {{directive '#pragma omp atomic' cannot contain more than one 'write' clause}} in writeint()
97 …// expected-error@+1 {{directive '#pragma omp atomic' cannot contain more than one 'write' clause}} in writeS()
99 …// expected-error@+2 {{the statement for 'atomic write' must be an expression statement of form 'x… in writeS()
100 // expected-note@+1 {{expected expression of scalar type}} in writeS()
110 …-error@+2 {{the statement for 'atomic update' must be an expression statement of form '++x;', '--x… in updateint()
111 // expected-note@+1 {{expected an expression statement}} in updateint()
114 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in updateint()
115 // expected-note@+1 {{expected built-in binary or unary operator}} in updateint()
118 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in updateint()
119 // expected-note@+1 {{expected built-in binary operator}} in updateint()
122 …-error@+2 {{the statement for 'atomic update' must be an expression statement of form '++x;', '--x… in updateint()
123 …// expected-note@+1 {{expected one of '+', '*', '-', '/', '&', '^', '|', '<<', or '>>' built-in op… in updateint()
126 …-error@+2 {{the statement for 'atomic update' must be an expression statement of form '++x;', '--x… in updateint()
127 …// expected-note@+1 {{expected one of '+', '*', '-', '/', '&', '^', '|', '<<', or '>>' built-in op… in updateint()
130 …-error@+2 {{the statement for 'atomic update' must be an expression statement of form '++x;', '--x… in updateint()
131 // expected-note@+1 {{expected in right hand side of expression}} in updateint()
134 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in updateint()
135 // expected-note@+1 {{expected in right hand side of expression}} in updateint()
138 …-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x+… in updateint()
139 // expected-note@+1 {{expected in right hand side of expression}} in updateint()
148 a--; in updateint()
150 --a; in updateint()
158 a -= b; in updateint()
176 a = b - a; in updateint()
189 …// expected-error@+1 {{directive '#pragma omp atomic' cannot contain more than one 'update' clause… in updateint()
200 …-error@+2 {{the statement for 'atomic capture' must be a compound statement of form '{v = x; x bin… in captureint()
201 // expected-note@+1 {{expected compound statement}} in captureint()
204 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
205 // expected-note@+1 {{expected assignment expression}} in captureint()
208 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
209 // expected-note@+1 {{expected built-in binary or unary operator}} in captureint()
212 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
213 // expected-note@+1 {{expected assignment expression}} in captureint()
216 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
217 …// expected-note@+1 {{expected one of '+', '*', '-', '/', '&', '^', '|', '<<', or '>>' built-in op… in captureint()
220 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
221 // expected-note@+1 {{expected assignment expression}} in captureint()
224 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
225 // expected-note@+1 {{expected assignment expression}} in captureint()
228 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
229 // expected-note@+1 {{expected assignment expression}} in captureint()
232 …-error@+2 {{the statement for 'atomic capture' must be a compound statement of form '{v = x; x bin… in captureint()
233 // expected-note@+1 {{expected exactly two expression statements}} in captureint()
236 …-error@+2 {{the statement for 'atomic capture' must be a compound statement of form '{v = x; x bin… in captureint()
237 // expected-note@+1 {{expected exactly two expression statements}} in captureint()
240 …-error@+2 {{the statement for 'atomic capture' must be a compound statement of form '{v = x; x bin… in captureint()
241 // expected-note@+1 {{expected in right hand side of the first expression}} in captureint()
244 …-error@+2 {{the statement for 'atomic capture' must be a compound statement of form '{v = x; x bin… in captureint()
245 // expected-note@+1 {{expected in right hand side of the first expression}} in captureint()
250 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
251 // expected-note@+1 {{expected in right hand side of expression}} in captureint()
254 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
255 // expected-note@+1 {{expected in right hand side of expression}} in captureint()
258 …-error@+2 {{the statement for 'atomic capture' must be an expression statement of form 'v = ++x;',… in captureint()
259 // expected-note@+1 {{expected in right hand side of expression}} in captureint()
268 c = a--; in captureint()
270 c = --a; in captureint()
278 c = a -= b; in captureint()
296 c = a = b - a; in captureint()
318 {c = a;a--;} in captureint()
320 {--a;c = a;} in captureint()
328 {a -= b;c = a;} in captureint()
346 {c = a; a = b - a;} in captureint()
361 …// expected-error@+1 {{directive '#pragma omp atomic' cannot contain more than one 'capture' claus… in captureint()