1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -ast-dump %s | FileCheck --match-full-lines -implicit-check-not=openmp_structured_block %s
2
test_one(int x)3 void test_one(int x) {
4 #pragma omp distribute simd
5 for (int i = 0; i < x; i++)
6 ;
7 }
8
test_two(int x,int y)9 void test_two(int x, int y) {
10 #pragma omp distribute simd
11 for (int i = 0; i < x; i++)
12 for (int i = 0; i < y; i++)
13 ;
14 }
15
test_three(int x,int y)16 void test_three(int x, int y) {
17 #pragma omp distribute simd collapse(1)
18 for (int i = 0; i < x; i++)
19 for (int i = 0; i < y; i++)
20 ;
21 }
22
test_four(int x,int y)23 void test_four(int x, int y) {
24 #pragma omp distribute simd collapse(2)
25 for (int i = 0; i < x; i++)
26 for (int i = 0; i < y; i++)
27 ;
28 }
29
test_five(int x,int y,int z)30 void test_five(int x, int y, int z) {
31 #pragma omp distribute simd collapse(2)
32 for (int i = 0; i < x; i++)
33 for (int i = 0; i < y; i++)
34 for (int i = 0; i < z; i++)
35 ;
36 }
37
38 // CHECK: TranslationUnitDecl {{.*}} <<invalid sloc>> <invalid sloc>
39 // CHECK: |-FunctionDecl {{.*}} <{{.*}}ast-dump-openmp-distribute-simd.c:3:1, line:7:1> line:3:6 test_one 'void (int)'
40 // CHECK-NEXT: | |-ParmVarDecl {{.*}} <col:15, col:19> col:19 used x 'int'
41 // CHECK-NEXT: | `-CompoundStmt {{.*}} <col:22, line:7:1>
42 // CHECK-NEXT: | `-OMPDistributeSimdDirective {{.*}} <line:4:1, col:28>
43 // CHECK-NEXT: | `-CapturedStmt {{.*}} <line:5:3, line:6:5>
44 // CHECK-NEXT: | |-CapturedDecl {{.*}} <<invalid sloc>> <invalid sloc> nothrow
45 // CHECK-NEXT: | | |-ForStmt {{.*}} <line:5:3, line:6:5>
46 // CHECK-NEXT: | | | |-DeclStmt {{.*}} <line:5:8, col:17>
47 // CHECK-NEXT: | | | | `-VarDecl {{.*}} <col:8, col:16> col:12 used i 'int' cinit
48 // CHECK-NEXT: | | | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
49 // CHECK-NEXT: | | | |-<<<NULL>>>
50 // CHECK-NEXT: | | | |-BinaryOperator {{.*}} <col:19, col:23> 'int' '<'
51 // CHECK-NEXT: | | | | |-ImplicitCastExpr {{.*}} <col:19> 'int' <LValueToRValue>
52 // CHECK-NEXT: | | | | | `-DeclRefExpr {{.*}} <col:19> 'int' lvalue Var {{.*}} 'i' 'int'
53 // CHECK-NEXT: | | | | `-ImplicitCastExpr {{.*}} <col:23> 'int' <LValueToRValue>
54 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
55 // CHECK-NEXT: | | | |-UnaryOperator {{.*}} <col:26, col:27> 'int' postfix '++'
56 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:26> 'int' lvalue Var {{.*}} 'i' 'int'
57 // CHECK-NEXT: | | | `-NullStmt {{.*}} <line:6:5>
58 // CHECK-NEXT: | | |-ImplicitParamDecl {{.*}} <line:4:1> col:1 implicit __context 'struct (anonymous at {{.*}}ast-dump-openmp-distribute-simd.c:4:1) *const restrict'
59 // CHECK-NEXT: | | `-VarDecl {{.*}} <line:5:8, col:16> col:12 used i 'int' cinit
60 // CHECK-NEXT: | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
61 // CHECK-NEXT: | `-DeclRefExpr {{.*}} <col:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
62 // CHECK-NEXT: |-FunctionDecl {{.*}} <line:9:1, line:14:1> line:9:6 test_two 'void (int, int)'
63 // CHECK-NEXT: | |-ParmVarDecl {{.*}} <col:15, col:19> col:19 used x 'int'
64 // CHECK-NEXT: | |-ParmVarDecl {{.*}} <col:22, col:26> col:26 used y 'int'
65 // CHECK-NEXT: | `-CompoundStmt {{.*}} <col:29, line:14:1>
66 // CHECK-NEXT: | `-OMPDistributeSimdDirective {{.*}} <line:10:1, col:28>
67 // CHECK-NEXT: | `-CapturedStmt {{.*}} <line:11:3, line:13:7>
68 // CHECK-NEXT: | |-CapturedDecl {{.*}} <<invalid sloc>> <invalid sloc> nothrow
69 // CHECK-NEXT: | | |-ForStmt {{.*}} <line:11:3, line:13:7>
70 // CHECK-NEXT: | | | |-DeclStmt {{.*}} <line:11:8, col:17>
71 // CHECK-NEXT: | | | | `-VarDecl {{.*}} <col:8, col:16> col:12 used i 'int' cinit
72 // CHECK-NEXT: | | | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
73 // CHECK-NEXT: | | | |-<<<NULL>>>
74 // CHECK-NEXT: | | | |-BinaryOperator {{.*}} <col:19, col:23> 'int' '<'
75 // CHECK-NEXT: | | | | |-ImplicitCastExpr {{.*}} <col:19> 'int' <LValueToRValue>
76 // CHECK-NEXT: | | | | | `-DeclRefExpr {{.*}} <col:19> 'int' lvalue Var {{.*}} 'i' 'int'
77 // CHECK-NEXT: | | | | `-ImplicitCastExpr {{.*}} <col:23> 'int' <LValueToRValue>
78 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
79 // CHECK-NEXT: | | | |-UnaryOperator {{.*}} <col:26, col:27> 'int' postfix '++'
80 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:26> 'int' lvalue Var {{.*}} 'i' 'int'
81 // CHECK-NEXT: | | | `-ForStmt {{.*}} <line:12:5, line:13:7>
82 // CHECK-NEXT: | | | |-DeclStmt {{.*}} <line:12:10, col:19>
83 // CHECK-NEXT: | | | | `-VarDecl {{.*}} <col:10, col:18> col:14 used i 'int' cinit
84 // CHECK-NEXT: | | | | `-IntegerLiteral {{.*}} <col:18> 'int' 0
85 // CHECK-NEXT: | | | |-<<<NULL>>>
86 // CHECK-NEXT: | | | |-BinaryOperator {{.*}} <col:21, col:25> 'int' '<'
87 // CHECK-NEXT: | | | | |-ImplicitCastExpr {{.*}} <col:21> 'int' <LValueToRValue>
88 // CHECK-NEXT: | | | | | `-DeclRefExpr {{.*}} <col:21> 'int' lvalue Var {{.*}} 'i' 'int'
89 // CHECK-NEXT: | | | | `-ImplicitCastExpr {{.*}} <col:25> 'int' <LValueToRValue>
90 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:25> 'int' lvalue ParmVar {{.*}} 'y' 'int'
91 // CHECK-NEXT: | | | |-UnaryOperator {{.*}} <col:28, col:29> 'int' postfix '++'
92 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:28> 'int' lvalue Var {{.*}} 'i' 'int'
93 // CHECK-NEXT: | | | `-NullStmt {{.*}} <line:13:7>
94 // CHECK-NEXT: | | |-ImplicitParamDecl {{.*}} <line:10:1> col:1 implicit __context 'struct (anonymous at {{.*}}ast-dump-openmp-distribute-simd.c:10:1) *const restrict'
95 // CHECK-NEXT: | | |-VarDecl {{.*}} <line:11:8, col:16> col:12 used i 'int' cinit
96 // CHECK-NEXT: | | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
97 // CHECK-NEXT: | | `-VarDecl {{.*}} <line:12:10, col:18> col:14 used i 'int' cinit
98 // CHECK-NEXT: | | `-IntegerLiteral {{.*}} <col:18> 'int' 0
99 // CHECK-NEXT: | |-DeclRefExpr {{.*}} <line:11:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
100 // CHECK-NEXT: | `-DeclRefExpr {{.*}} <line:12:25> 'int' lvalue ParmVar {{.*}} 'y' 'int'
101 // CHECK-NEXT: |-FunctionDecl {{.*}} <line:16:1, line:21:1> line:16:6 test_three 'void (int, int)'
102 // CHECK-NEXT: | |-ParmVarDecl {{.*}} <col:17, col:21> col:21 used x 'int'
103 // CHECK-NEXT: | |-ParmVarDecl {{.*}} <col:24, col:28> col:28 used y 'int'
104 // CHECK-NEXT: | `-CompoundStmt {{.*}} <col:31, line:21:1>
105 // CHECK-NEXT: | `-OMPDistributeSimdDirective {{.*}} <line:17:1, col:40>
106 // CHECK-NEXT: | |-OMPCollapseClause {{.*}} <col:29, col:39>
107 // CHECK-NEXT: | | `-ConstantExpr {{.*}} <col:38> 'int'
108 // CHECK-NEXT: | | `-IntegerLiteral {{.*}} <col:38> 'int' 1
109 // CHECK-NEXT: | `-CapturedStmt {{.*}} <line:18:3, line:20:7>
110 // CHECK-NEXT: | |-CapturedDecl {{.*}} <<invalid sloc>> <invalid sloc> nothrow
111 // CHECK-NEXT: | | |-ForStmt {{.*}} <line:18:3, line:20:7>
112 // CHECK-NEXT: | | | |-DeclStmt {{.*}} <line:18:8, col:17>
113 // CHECK-NEXT: | | | | `-VarDecl {{.*}} <col:8, col:16> col:12 used i 'int' cinit
114 // CHECK-NEXT: | | | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
115 // CHECK-NEXT: | | | |-<<<NULL>>>
116 // CHECK-NEXT: | | | |-BinaryOperator {{.*}} <col:19, col:23> 'int' '<'
117 // CHECK-NEXT: | | | | |-ImplicitCastExpr {{.*}} <col:19> 'int' <LValueToRValue>
118 // CHECK-NEXT: | | | | | `-DeclRefExpr {{.*}} <col:19> 'int' lvalue Var {{.*}} 'i' 'int'
119 // CHECK-NEXT: | | | | `-ImplicitCastExpr {{.*}} <col:23> 'int' <LValueToRValue>
120 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
121 // CHECK-NEXT: | | | |-UnaryOperator {{.*}} <col:26, col:27> 'int' postfix '++'
122 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:26> 'int' lvalue Var {{.*}} 'i' 'int'
123 // CHECK-NEXT: | | | `-ForStmt {{.*}} <line:19:5, line:20:7>
124 // CHECK-NEXT: | | | |-DeclStmt {{.*}} <line:19:10, col:19>
125 // CHECK-NEXT: | | | | `-VarDecl {{.*}} <col:10, col:18> col:14 used i 'int' cinit
126 // CHECK-NEXT: | | | | `-IntegerLiteral {{.*}} <col:18> 'int' 0
127 // CHECK-NEXT: | | | |-<<<NULL>>>
128 // CHECK-NEXT: | | | |-BinaryOperator {{.*}} <col:21, col:25> 'int' '<'
129 // CHECK-NEXT: | | | | |-ImplicitCastExpr {{.*}} <col:21> 'int' <LValueToRValue>
130 // CHECK-NEXT: | | | | | `-DeclRefExpr {{.*}} <col:21> 'int' lvalue Var {{.*}} 'i' 'int'
131 // CHECK-NEXT: | | | | `-ImplicitCastExpr {{.*}} <col:25> 'int' <LValueToRValue>
132 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:25> 'int' lvalue ParmVar {{.*}} 'y' 'int'
133 // CHECK-NEXT: | | | |-UnaryOperator {{.*}} <col:28, col:29> 'int' postfix '++'
134 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:28> 'int' lvalue Var {{.*}} 'i' 'int'
135 // CHECK-NEXT: | | | `-NullStmt {{.*}} <line:20:7>
136 // CHECK-NEXT: | | |-ImplicitParamDecl {{.*}} <line:17:1> col:1 implicit __context 'struct (anonymous at {{.*}}ast-dump-openmp-distribute-simd.c:17:1) *const restrict'
137 // CHECK-NEXT: | | |-VarDecl {{.*}} <line:18:8, col:16> col:12 used i 'int' cinit
138 // CHECK-NEXT: | | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
139 // CHECK-NEXT: | | `-VarDecl {{.*}} <line:19:10, col:18> col:14 used i 'int' cinit
140 // CHECK-NEXT: | | `-IntegerLiteral {{.*}} <col:18> 'int' 0
141 // CHECK-NEXT: | |-DeclRefExpr {{.*}} <line:18:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
142 // CHECK-NEXT: | `-DeclRefExpr {{.*}} <line:19:25> 'int' lvalue ParmVar {{.*}} 'y' 'int'
143 // CHECK-NEXT: |-FunctionDecl {{.*}} <line:23:1, line:28:1> line:23:6 test_four 'void (int, int)'
144 // CHECK-NEXT: | |-ParmVarDecl {{.*}} <col:16, col:20> col:20 used x 'int'
145 // CHECK-NEXT: | |-ParmVarDecl {{.*}} <col:23, col:27> col:27 used y 'int'
146 // CHECK-NEXT: | `-CompoundStmt {{.*}} <col:30, line:28:1>
147 // CHECK-NEXT: | `-OMPDistributeSimdDirective {{.*}} <line:24:1, col:40>
148 // CHECK-NEXT: | |-OMPCollapseClause {{.*}} <col:29, col:39>
149 // CHECK-NEXT: | | `-ConstantExpr {{.*}} <col:38> 'int'
150 // CHECK-NEXT: | | `-IntegerLiteral {{.*}} <col:38> 'int' 2
151 // CHECK-NEXT: | `-CapturedStmt {{.*}} <line:25:3, line:27:7>
152 // CHECK-NEXT: | |-CapturedDecl {{.*}} <<invalid sloc>> <invalid sloc> nothrow
153 // CHECK-NEXT: | | |-ForStmt {{.*}} <line:25:3, line:27:7>
154 // CHECK-NEXT: | | | |-DeclStmt {{.*}} <line:25:8, col:17>
155 // CHECK-NEXT: | | | | `-VarDecl {{.*}} <col:8, col:16> col:12 used i 'int' cinit
156 // CHECK-NEXT: | | | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
157 // CHECK-NEXT: | | | |-<<<NULL>>>
158 // CHECK-NEXT: | | | |-BinaryOperator {{.*}} <col:19, col:23> 'int' '<'
159 // CHECK-NEXT: | | | | |-ImplicitCastExpr {{.*}} <col:19> 'int' <LValueToRValue>
160 // CHECK-NEXT: | | | | | `-DeclRefExpr {{.*}} <col:19> 'int' lvalue Var {{.*}} 'i' 'int'
161 // CHECK-NEXT: | | | | `-ImplicitCastExpr {{.*}} <col:23> 'int' <LValueToRValue>
162 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
163 // CHECK-NEXT: | | | |-UnaryOperator {{.*}} <col:26, col:27> 'int' postfix '++'
164 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:26> 'int' lvalue Var {{.*}} 'i' 'int'
165 // CHECK-NEXT: | | | `-ForStmt {{.*}} <line:26:5, line:27:7>
166 // CHECK-NEXT: | | | |-DeclStmt {{.*}} <line:26:10, col:19>
167 // CHECK-NEXT: | | | | `-VarDecl {{.*}} <col:10, col:18> col:14 used i 'int' cinit
168 // CHECK-NEXT: | | | | `-IntegerLiteral {{.*}} <col:18> 'int' 0
169 // CHECK-NEXT: | | | |-<<<NULL>>>
170 // CHECK-NEXT: | | | |-BinaryOperator {{.*}} <col:21, col:25> 'int' '<'
171 // CHECK-NEXT: | | | | |-ImplicitCastExpr {{.*}} <col:21> 'int' <LValueToRValue>
172 // CHECK-NEXT: | | | | | `-DeclRefExpr {{.*}} <col:21> 'int' lvalue Var {{.*}} 'i' 'int'
173 // CHECK-NEXT: | | | | `-ImplicitCastExpr {{.*}} <col:25> 'int' <LValueToRValue>
174 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:25> 'int' lvalue ParmVar {{.*}} 'y' 'int'
175 // CHECK-NEXT: | | | |-UnaryOperator {{.*}} <col:28, col:29> 'int' postfix '++'
176 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:28> 'int' lvalue Var {{.*}} 'i' 'int'
177 // CHECK-NEXT: | | | `-NullStmt {{.*}} <line:27:7>
178 // CHECK-NEXT: | | |-ImplicitParamDecl {{.*}} <line:24:1> col:1 implicit __context 'struct (anonymous at {{.*}}ast-dump-openmp-distribute-simd.c:24:1) *const restrict'
179 // CHECK-NEXT: | | |-VarDecl {{.*}} <line:25:8, col:16> col:12 used i 'int' cinit
180 // CHECK-NEXT: | | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
181 // CHECK-NEXT: | | `-VarDecl {{.*}} <line:26:10, col:18> col:14 used i 'int' cinit
182 // CHECK-NEXT: | | `-IntegerLiteral {{.*}} <col:18> 'int' 0
183 // CHECK-NEXT: | |-DeclRefExpr {{.*}} <line:25:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
184 // CHECK-NEXT: | `-DeclRefExpr {{.*}} <line:26:25> 'int' lvalue ParmVar {{.*}} 'y' 'int'
185 // CHECK-NEXT: `-FunctionDecl {{.*}} <line:30:1, line:36:1> line:30:6 test_five 'void (int, int, int)'
186 // CHECK-NEXT: |-ParmVarDecl {{.*}} <col:16, col:20> col:20 used x 'int'
187 // CHECK-NEXT: |-ParmVarDecl {{.*}} <col:23, col:27> col:27 used y 'int'
188 // CHECK-NEXT: |-ParmVarDecl {{.*}} <col:30, col:34> col:34 used z 'int'
189 // CHECK-NEXT: `-CompoundStmt {{.*}} <col:37, line:36:1>
190 // CHECK-NEXT: `-OMPDistributeSimdDirective {{.*}} <line:31:1, col:40>
191 // CHECK-NEXT: |-OMPCollapseClause {{.*}} <col:29, col:39>
192 // CHECK-NEXT: | `-ConstantExpr {{.*}} <col:38> 'int'
193 // CHECK-NEXT: | `-IntegerLiteral {{.*}} <col:38> 'int' 2
194 // CHECK-NEXT: `-CapturedStmt {{.*}} <line:32:3, line:35:9>
195 // CHECK-NEXT: |-CapturedDecl {{.*}} <<invalid sloc>> <invalid sloc> nothrow
196 // CHECK-NEXT: | |-ForStmt {{.*}} <line:32:3, line:35:9>
197 // CHECK-NEXT: | | |-DeclStmt {{.*}} <line:32:8, col:17>
198 // CHECK-NEXT: | | | `-VarDecl {{.*}} <col:8, col:16> col:12 used i 'int' cinit
199 // CHECK-NEXT: | | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
200 // CHECK-NEXT: | | |-<<<NULL>>>
201 // CHECK-NEXT: | | |-BinaryOperator {{.*}} <col:19, col:23> 'int' '<'
202 // CHECK-NEXT: | | | |-ImplicitCastExpr {{.*}} <col:19> 'int' <LValueToRValue>
203 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:19> 'int' lvalue Var {{.*}} 'i' 'int'
204 // CHECK-NEXT: | | | `-ImplicitCastExpr {{.*}} <col:23> 'int' <LValueToRValue>
205 // CHECK-NEXT: | | | `-DeclRefExpr {{.*}} <col:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
206 // CHECK-NEXT: | | |-UnaryOperator {{.*}} <col:26, col:27> 'int' postfix '++'
207 // CHECK-NEXT: | | | `-DeclRefExpr {{.*}} <col:26> 'int' lvalue Var {{.*}} 'i' 'int'
208 // CHECK-NEXT: | | `-ForStmt {{.*}} <line:33:5, line:35:9>
209 // CHECK-NEXT: | | |-DeclStmt {{.*}} <line:33:10, col:19>
210 // CHECK-NEXT: | | | `-VarDecl {{.*}} <col:10, col:18> col:14 used i 'int' cinit
211 // CHECK-NEXT: | | | `-IntegerLiteral {{.*}} <col:18> 'int' 0
212 // CHECK-NEXT: | | |-<<<NULL>>>
213 // CHECK-NEXT: | | |-BinaryOperator {{.*}} <col:21, col:25> 'int' '<'
214 // CHECK-NEXT: | | | |-ImplicitCastExpr {{.*}} <col:21> 'int' <LValueToRValue>
215 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:21> 'int' lvalue Var {{.*}} 'i' 'int'
216 // CHECK-NEXT: | | | `-ImplicitCastExpr {{.*}} <col:25> 'int' <LValueToRValue>
217 // CHECK-NEXT: | | | `-DeclRefExpr {{.*}} <col:25> 'int' lvalue ParmVar {{.*}} 'y' 'int'
218 // CHECK-NEXT: | | |-UnaryOperator {{.*}} <col:28, col:29> 'int' postfix '++'
219 // CHECK-NEXT: | | | `-DeclRefExpr {{.*}} <col:28> 'int' lvalue Var {{.*}} 'i' 'int'
220 // CHECK-NEXT: | | `-ForStmt {{.*}} <line:34:7, line:35:9>
221 // CHECK-NEXT: | | |-DeclStmt {{.*}} <line:34:12, col:21>
222 // CHECK-NEXT: | | | `-VarDecl {{.*}} <col:12, col:20> col:16 used i 'int' cinit
223 // CHECK-NEXT: | | | `-IntegerLiteral {{.*}} <col:20> 'int' 0
224 // CHECK-NEXT: | | |-<<<NULL>>>
225 // CHECK-NEXT: | | |-BinaryOperator {{.*}} <col:23, col:27> 'int' '<'
226 // CHECK-NEXT: | | | |-ImplicitCastExpr {{.*}} <col:23> 'int' <LValueToRValue>
227 // CHECK-NEXT: | | | | `-DeclRefExpr {{.*}} <col:23> 'int' lvalue Var {{.*}} 'i' 'int'
228 // CHECK-NEXT: | | | `-ImplicitCastExpr {{.*}} <col:27> 'int' <LValueToRValue>
229 // CHECK-NEXT: | | | `-DeclRefExpr {{.*}} <col:27> 'int' lvalue ParmVar {{.*}} 'z' 'int'
230 // CHECK-NEXT: | | |-UnaryOperator {{.*}} <col:30, col:31> 'int' postfix '++'
231 // CHECK-NEXT: | | | `-DeclRefExpr {{.*}} <col:30> 'int' lvalue Var {{.*}} 'i' 'int'
232 // CHECK-NEXT: | | `-NullStmt {{.*}} <line:35:9>
233 // CHECK-NEXT: | |-ImplicitParamDecl {{.*}} <line:31:1> col:1 implicit __context 'struct (anonymous at {{.*}}ast-dump-openmp-distribute-simd.c:31:1) *const restrict'
234 // CHECK-NEXT: | |-VarDecl {{.*}} <line:32:8, col:16> col:12 used i 'int' cinit
235 // CHECK-NEXT: | | `-IntegerLiteral {{.*}} <col:16> 'int' 0
236 // CHECK-NEXT: | |-VarDecl {{.*}} <line:33:10, col:18> col:14 used i 'int' cinit
237 // CHECK-NEXT: | | `-IntegerLiteral {{.*}} <col:18> 'int' 0
238 // CHECK-NEXT: | `-VarDecl {{.*}} <line:34:12, col:20> col:16 used i 'int' cinit
239 // CHECK-NEXT: | `-IntegerLiteral {{.*}} <col:20> 'int' 0
240 // CHECK-NEXT: |-DeclRefExpr {{.*}} <line:32:23> 'int' lvalue ParmVar {{.*}} 'x' 'int'
241 // CHECK-NEXT: |-DeclRefExpr {{.*}} <line:33:25> 'int' lvalue ParmVar {{.*}} 'y' 'int'
242 // CHECK-NEXT: `-DeclRefExpr {{.*}} <line:34:27> 'int' lvalue ParmVar {{.*}} 'z' 'int'
243