1 // RUN: c-index-test -test-load-source-reparse 1 local %s | FileCheck %s
3 // See PR 21254. We had too few bits to encode command IDs so if you created
4 // enough of them the ID codes would wrap around. This test creates commands up
5 // to an ID of 258. Ideally we should check for large numbers, but that would
6 // require a test source file which is megabytes in size. This is the test case
153 // CHECK: CommentAST=[
154 // CHECK: (CXComment_FullComment
155 // CHECK: (CXComment_Paragraph
156 // CHECK: (CXComment_InlineCommand CommandName=[s] RenderNormal HasTrailingNewline)
157 // CHECK: (CXComment_InlineCommand CommandName=[tr] RenderNormal HasTrailingNewline)
158 // CHECK: (CXComment_InlineCommand CommandName=[y] RenderNormal HasTrailingNewline)
159 // CHECK: (CXComment_InlineCommand CommandName=[tt] RenderNormal HasTrailingNewline)
160 // CHECK: (CXComment_InlineCommand CommandName=[tg] RenderNormal HasTrailingNewline)
161 // CHECK: (CXComment_InlineCommand CommandName=[alu] RenderNormal HasTrailingNewline)
162 // CHECK: (CXComment_InlineCommand CommandName=[U] RenderNormal HasTrailingNewline)
163 // CHECK: (CXComment_InlineCommand CommandName=[I] RenderNormal HasTrailingNewline)
164 // CHECK: (CXComment_InlineCommand CommandName=[r] RenderNormal HasTrailingNewline)
165 // CHECK: (CXComment_InlineCommand CommandName=[t0] RenderNormal HasTrailingNewline)
166 // CHECK: (CXComment_InlineCommand CommandName=[t1] RenderNormal HasTrailingNewline)
167 // CHECK: (CXComment_InlineCommand CommandName=[ur] RenderNormal HasTrailingNewline)
168 // CHECK: (CXComment_InlineCommand CommandName=[S] RenderNormal HasTrailingNewline)
169 // CHECK: (CXComment_InlineCommand CommandName=[E] RenderNormal HasTrailingNewline)
170 // CHECK: (CXComment_InlineCommand CommandName=[pb] RenderNormal HasTrailingNewline)
171 // CHECK: (CXComment_InlineCommand CommandName=[f] RenderNormal HasTrailingNewline)
172 // CHECK: (CXComment_InlineCommand CommandName=[pe] RenderNormal HasTrailingNewline)
173 // CHECK: (CXComment_InlineCommand CommandName=[lue] RenderNormal HasTrailingNewline)
174 // CHECK: (CXComment_InlineCommand CommandName=[re] RenderNormal HasTrailingNewline)
175 // CHECK: (CXComment_InlineCommand CommandName=[oa] RenderNormal HasTrailingNewline)
176 // CHECK: (CXComment_InlineCommand CommandName=[l] RenderNormal HasTrailingNewline)
177 // CHECK: (CXComment_InlineCommand CommandName=[x] RenderNormal HasTrailingNewline)
178 // CHECK: (CXComment_InlineCommand CommandName=[R] RenderNormal HasTrailingNewline)
179 // CHECK: (CXComment_InlineCommand CommandName=[ute] RenderNormal HasTrailingNewline)
180 // CHECK: (CXComment_InlineCommand CommandName=[am] RenderNormal HasTrailingNewline)
181 // CHECK: (CXComment_InlineCommand CommandName=[ei] RenderNormal HasTrailingNewline)
182 // CHECK: (CXComment_InlineCommand CommandName=[oun] RenderNormal HasTrailingNewline)
183 // CHECK: (CXComment_InlineCommand CommandName=[ou] RenderNormal HasTrailingNewline)
184 // CHECK: (CXComment_InlineCommand CommandName=[nlnl] RenderNormal HasTrailingNewline)
185 // CHECK: (CXComment_InlineCommand CommandName=[ien] RenderNormal HasTrailingNewline)
186 // CHECK: (CXComment_InlineCommand CommandName=[fr] RenderNormal HasTrailingNewline)
187 // CHECK: (CXComment_InlineCommand CommandName=[en] RenderNormal HasTrailingNewline)
188 // CHECK: (CXComment_InlineCommand CommandName=[teq] RenderNormal HasTrailingNewline)
189 // CHECK: (CXComment_InlineCommand CommandName=[le] RenderNormal HasTrailingNewline)
190 // CHECK: (CXComment_InlineCommand CommandName=[L] RenderNormal HasTrailingNewline)
191 // CHECK: (CXComment_InlineCommand CommandName=[os] RenderNormal HasTrailingNewline)
192 // CHECK: (CXComment_InlineCommand CommandName=[A] RenderNormal HasTrailingNewline)
193 // CHECK: (CXComment_InlineCommand CommandName=[ro] RenderNormal HasTrailingNewline)
194 // CHECK: (CXComment_InlineCommand CommandName=[o] RenderNormal HasTrailingNewline)
195 // CHECK: (CXComment_InlineCommand CommandName=[ho] RenderNormal HasTrailingNewline)
196 // CHECK: (CXComment_InlineCommand CommandName=[ca] RenderNormal HasTrailingNewline)
197 // CHECK: (CXComment_InlineCommand CommandName=[Tie] RenderNormal HasTrailingNewline)
198 // CHECK: (CXComment_InlineCommand CommandName=[tl] RenderNormal HasTrailingNewline)
199 // CHECK: (CXComment_InlineCommand CommandName=[g] RenderNormal HasTrailingNewline)
200 // CHECK: (CXComment_InlineCommand CommandName=[hr] RenderNormal HasTrailingNewline)
201 // CHECK: (CXComment_InlineCommand CommandName=[et] RenderNormal HasTrailingNewline)
202 // CHECK: (CXComment_InlineCommand CommandName=[fro] RenderNormal HasTrailingNewline)
203 // CHECK: (CXComment_InlineCommand CommandName=[ast] RenderNormal HasTrailingNewline)
204 // CHECK: (CXComment_InlineCommand CommandName=[ae] RenderNormal HasTrailingNewline)
205 // CHECK: (CXComment_InlineCommand CommandName=[nNnN] RenderNormal HasTrailingNewline)
206 // CHECK: (CXComment_InlineCommand CommandName=[pc] RenderNormal HasTrailingNewline)
207 // CHECK: (CXComment_InlineCommand CommandName=[tae] RenderNormal HasTrailingNewline)
208 // CHECK: (CXComment_InlineCommand CommandName=[ws] RenderNormal HasTrailingNewline)
209 // CHECK: (CXComment_InlineCommand CommandName=[ia] RenderNormal HasTrailingNewline)
210 // CHECK: (CXComment_InlineCommand CommandName=[N] RenderNormal HasTrailingNewline)
211 // CHECK: (CXComment_InlineCommand CommandName=[lc] RenderNormal HasTrailingNewline)
212 // CHECK: (CXComment_InlineCommand CommandName=[psg] RenderNormal HasTrailingNewline)
213 // CHECK: (CXComment_InlineCommand CommandName=[ta] RenderNormal HasTrailingNewline)
214 // CHECK: (CXComment_InlineCommand CommandName=[t2] RenderNormal HasTrailingNewline)
215 // CHECK: (CXComment_InlineCommand CommandName=[D] RenderNormal HasTrailingNewline)
216 // CHECK: (CXComment_InlineCommand CommandName=[str] RenderNormal HasTrailingNewline)
217 // CHECK: (CXComment_InlineCommand CommandName=[ra] RenderNormal HasTrailingNewline)
218 // CHECK: (CXComment_InlineCommand CommandName=[t3] RenderNormal HasTrailingNewline)
219 // CHECK: (CXComment_InlineCommand CommandName=[t] RenderNormal HasTrailingNewline)
220 // CHECK: (CXComment_InlineCommand CommandName=[xt] RenderNormal HasTrailingNewline)
221 // CHECK: (CXComment_InlineCommand CommandName=[eN] RenderNormal HasTrailingNewline)
222 // CHECK: (CXComment_InlineCommand CommandName=[fe] RenderNormal HasTrailingNewline)
223 // CHECK: (CXComment_InlineCommand CommandName=[rU] RenderNormal HasTrailingNewline)
224 // CHECK: (CXComment_InlineCommand CommandName=[ar] RenderNormal HasTrailingNewline)
225 // CHECK: (CXComment_InlineCommand CommandName=[eD] RenderNormal HasTrailingNewline)
226 // CHECK: (CXComment_InlineCommand CommandName=[iEx] RenderNormal HasTrailingNewline)
227 // CHECK: (CXComment_InlineCommand CommandName=[se] RenderNormal HasTrailingNewline)
228 // CHECK: (CXComment_InlineCommand CommandName=[st1] RenderNormal HasTrailingNewline)
229 // CHECK: (CXComment_InlineCommand CommandName=[rr] RenderNormal HasTrailingNewline)
230 // CHECK: (CXComment_InlineCommand CommandName=[ime] RenderNormal HasTrailingNewline)
231 // CHECK: (CXComment_InlineCommand CommandName=[ft] RenderNormal HasTrailingNewline)
232 // CHECK: (CXComment_InlineCommand CommandName=[lm] RenderNormal HasTrailingNewline)
233 // CHECK: (CXComment_InlineCommand CommandName=[wD] RenderNormal HasTrailingNewline)
234 // CHECK: (CXComment_InlineCommand CommandName=[wne] RenderNormal HasTrailingNewline)
235 // CHECK: (CXComment_InlineCommand CommandName=[h] RenderNormal HasTrailingNewline)
236 // CHECK: (CXComment_InlineCommand CommandName=[otn] RenderNormal HasTrailingNewline)
237 // CHECK: (CXComment_InlineCommand CommandName=[use] RenderNormal HasTrailingNewline)
238 // CHECK: (CXComment_InlineCommand CommandName=[roi] RenderNormal HasTrailingNewline)
239 // CHECK: (CXComment_InlineCommand CommandName=[ldc] RenderNormal HasTrailingNewline)
240 // CHECK: (CXComment_InlineCommand CommandName=[ln] RenderNormal HasTrailingNewline)
241 // CHECK: (CXComment_InlineCommand CommandName=[d] RenderNormal HasTrailingNewline)
242 // CHECK: (CXComment_InlineCommand CommandName=[ee] RenderNormal HasTrailingNewline)
243 // CHECK: (CXComment_InlineCommand CommandName=[ep] RenderNormal HasTrailingNewline)
244 // CHECK: (CXComment_InlineCommand CommandName=[us] RenderNormal HasTrailingNewline)
245 // CHECK: (CXComment_InlineCommand CommandName=[ut] RenderNormal HasTrailingNewline)
246 // CHECK: (CXComment_InlineCommand CommandName=[u] RenderNormal HasTrailingNewline)
247 // CHECK: (CXComment_InlineCommand CommandName=[n] RenderNormal HasTrailingNewline)
248 // CHECK: (CXComment_InlineCommand CommandName=[Nme] RenderNormal HasTrailingNewline)
249 // CHECK: (CXComment_InlineCommand CommandName=[min] RenderNormal HasTrailingNewline)
250 // CHECK: (CXComment_InlineCommand CommandName=[ma] RenderNormal HasTrailingNewline)
251 // CHECK: (CXComment_InlineCommand CommandName=[pct] RenderNormal HasTrailingNewline)
252 // CHECK: (CXComment_InlineCommand CommandName=[hd] RenderNormal HasTrailingNewline)
253 // CHECK: (CXComment_InlineCommand CommandName=[be] RenderNormal HasTrailingNewline)
254 // CHECK: (CXComment_InlineCommand CommandName=[It] RenderNormal HasTrailingNewline)
255 // CHECK: (CXComment_InlineCommand CommandName=[idz] RenderNormal HasTrailingNewline)
256 // CHECK: (CXComment_InlineCommand CommandName=[cm] RenderNormal HasTrailingNewline)
257 // CHECK: (CXComment_InlineCommand CommandName=[ua] RenderNormal HasTrailingNewline)
258 // CHECK: (CXComment_InlineCommand CommandName=[fs] RenderNormal HasTrailingNewline)
259 // CHECK: (CXComment_InlineCommand CommandName=[Al] RenderNormal HasTrailingNewline)
260 // CHECK: (CXComment_InlineCommand CommandName=[axn] RenderNormal HasTrailingNewline)
261 // CHECK: (CXComment_InlineCommand CommandName=[rt] RenderNormal HasTrailingNewline)
262 // CHECK: (CXComment_InlineCommand CommandName=[to] RenderNormal HasTrailingNewline)
263 // CHECK: (CXComment_InlineCommand CommandName=[isj] RenderNormal HasTrailingNewline)
264 // CHECK: (CXComment_InlineCommand CommandName=[fo] RenderNormal HasTrailingNewline)
265 // CHECK: (CXComment_InlineCommand CommandName=[i] RenderNormal HasTrailingNewline)
266 // CHECK: (CXComment_InlineCommand CommandName=[an] RenderNormal HasTrailingNewline)
267 // CHECK: (CXComment_InlineCommand CommandName=[de] RenderNormal HasTrailingNewline)
268 // CHECK: (CXComment_InlineCommand CommandName=[tel] RenderNormal HasTrailingNewline)
269 // CHECK: (CXComment_InlineCommand CommandName=[ndnd] RenderNormal HasTrailingNewline)
270 // CHECK: (CXComment_InlineCommand CommandName=[dict] RenderNormal HasTrailingNewline)
271 // CHECK: (CXComment_InlineCommand CommandName=[Lo] RenderNormal HasTrailingNewline)
272 // CHECK: (CXComment_InlineCommand CommandName=[ilil] RenderNormal HasTrailingNewline)
273 // CHECK: (CXComment_InlineCommand CommandName=[tle] RenderNormal HasTrailingNewline)
274 // CHECK: (CXComment_InlineCommand CommandName=[axt] RenderNormal HasTrailingNewline)
275 // CHECK: (CXComment_InlineCommand CommandName=[ba] RenderNormal HasTrailingNewline)
276 // CHECK: (CXComment_InlineCommand CommandName=[ust] RenderNormal HasTrailingNewline)
277 // CHECK: (CXComment_InlineCommand CommandName=[ac] RenderNormal HasTrailingNewline)
278 // CHECK: (CXComment_InlineCommand CommandName=[tpe] RenderNormal HasTrailingNewline)
279 // CHECK: (CXComment_InlineCommand CommandName=[tpl] RenderNormal HasTrailingNewline)
280 // CHECK: (CXComment_InlineCommand CommandName=[ctG] RenderNormal HasTrailingNewline)
281 // CHECK: (CXComment_InlineCommand CommandName=[ru] RenderNormal HasTrailingNewline)
282 // CHECK: (CXComment_InlineCommand CommandName=[m] RenderNormal HasTrailingNewline)
283 // CHECK: (CXComment_InlineCommand CommandName=[tG] RenderNormal HasTrailingNewline)
284 // CHECK: (CXComment_InlineCommand CommandName=[itit] RenderNormal HasTrailingNewline)
285 // CHECK: (CXComment_InlineCommand CommandName=[rh] RenderNormal HasTrailingNewline)
286 // CHECK: (CXComment_InlineCommand CommandName=[G] RenderNormal HasTrailingNewline)
287 // CHECK: (CXComment_InlineCommand CommandName=[rpc] RenderNormal HasTrailingNewline)
288 // CHECK: (CXComment_InlineCommand CommandName=[el] RenderNormal HasTrailingNewline)
289 // CHECK: (CXComment_InlineCommand CommandName=[er] RenderNormal HasTrailingNewline)
290 // CHECK: (CXComment_InlineCommand CommandName=[w] RenderNormal HasTrailingNewline)
291 // CHECK: (CXComment_InlineCommand CommandName=[eo] RenderNormal HasTrailingNewline)
292 // CHECK: (CXComment_InlineCommand CommandName=[tx] RenderNormal HasTrailingNewline)
293 // CHECK: (CXComment_InlineCommand CommandName=[oo] RenderNormal HasTrailingNewline)
294 // CHECK: (CXComment_InlineCommand CommandName=[dD] RenderNormal HasTrailingNewline)
295 // CHECK: (CXComment_InlineCommand CommandName=[dD] RenderNormal)))]