@@ -170,6 +170,78 @@ template <bool d = true, class = typename b<d>::c> void a() { a(); }
170
170
171
171
template <bool = true > void d (int = 0 ) { d (); }
172
172
173
+ // CHECK-LABEL: {{^---$}}
174
+ // CHECK: {{^name:[ ]+a$}}
175
+ // CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
176
+ // CHECK: {{^event:[ ]+Begin$}}
177
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:60:57'$}}
178
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:63'$}}
179
+ // CHECK-LABEL: {{^---$}}
180
+ // CHECK: {{^name:[ ]+d$}}
181
+ // CHECK: {{^kind:[ ]+DefaultTemplateArgumentInstantiation$}}
182
+ // CHECK: {{^event:[ ]+Begin$}}
183
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:60:16'$}}
184
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:57'$}}
185
+ // CHECK-LABEL: {{^---$}}
186
+ // CHECK: {{^name:[ ]+d$}}
187
+ // CHECK: {{^kind:[ ]+DefaultTemplateArgumentInstantiation$}}
188
+ // CHECK: {{^event:[ ]+End$}}
189
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:60:16'$}}
190
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:57'$}}
191
+ // CHECK-LABEL: {{^---$}}
192
+ // CHECK: {{^name:[ ]+unnamed template type parameter 1 of a$}}
193
+ // CHECK: {{^kind:[ ]+DefaultTemplateArgumentInstantiation$}}
194
+ // CHECK: {{^event:[ ]+Begin$}}
195
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:60:32'$}}
196
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:57'$}}
197
+ // CHECK-LABEL: {{^---$}}
198
+ // CHECK: {{^name:[ ]+'b<1>'$}}
199
+ // CHECK: {{^kind:[ ]+Memoization$}}
200
+ // CHECK: {{^event:[ ]+Begin$}}
201
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:59:23'$}}
202
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:43'$}}
203
+ // CHECK-LABEL: {{^---$}}
204
+ // CHECK: {{^name:[ ]+'b<1>'$}}
205
+ // CHECK: {{^kind:[ ]+Memoization$}}
206
+ // CHECK: {{^event:[ ]+End$}}
207
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:59:23'$}}
208
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:43'$}}
209
+ // CHECK-LABEL: {{^---$}}
210
+ // CHECK: {{^name:[ ]+unnamed template type parameter 1 of a$}}
211
+ // CHECK: {{^kind:[ ]+DefaultTemplateArgumentInstantiation$}}
212
+ // CHECK: {{^event:[ ]+End$}}
213
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:60:32'$}}
214
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:57'$}}
215
+ // CHECK-LABEL: {{^---$}}
216
+ // CHECK: {{^name:[ ]+a$}}
217
+ // CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
218
+ // CHECK: {{^event:[ ]+End$}}
219
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:60:57'$}}
220
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:63'$}}
221
+ // CHECK-LABEL: {{^---$}}
222
+ // CHECK: {{^name:[ ]+a$}}
223
+ // CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
224
+ // CHECK: {{^event:[ ]+Begin$}}
225
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:20:25'$}}
226
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:63'$}}
227
+ // CHECK-LABEL: {{^---$}}
228
+ // CHECK: {{^name:[ ]+unnamed template non-type parameter 0 of a$}}
229
+ // CHECK: {{^kind:[ ]+DefaultTemplateArgumentInstantiation$}}
230
+ // CHECK: {{^event:[ ]+Begin$}}
231
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:20:15'$}}
232
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:20:25'$}}
233
+ // CHECK-LABEL: {{^---$}}
234
+ // CHECK: {{^name:[ ]+unnamed template non-type parameter 0 of a$}}
235
+ // CHECK: {{^kind:[ ]+DefaultTemplateArgumentInstantiation$}}
236
+ // CHECK: {{^event:[ ]+End$}}
237
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:20:15'$}}
238
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:20:25'$}}
239
+ // CHECK-LABEL: {{^---$}}
240
+ // CHECK: {{^name:[ ]+a$}}
241
+ // CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
242
+ // CHECK: {{^event:[ ]+End$}}
243
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:20:25'$}}
244
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:63'$}}
173
245
// CHECK-LABEL: {{^---$}}
174
246
// CHECK: {{^name:[ ]+d$}}
175
247
// CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
@@ -225,41 +297,41 @@ void e() {
225
297
}
226
298
227
299
// CHECK-LABEL: {{^---$}}
228
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
300
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:295 :3\)'$}}
229
301
// CHECK: {{^kind:[ ]+Memoization$}}
230
302
// CHECK: {{^event:[ ]+Begin$}}
231
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
232
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:224 :5'$}}
303
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
304
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:296 :5'$}}
233
305
// CHECK-LABEL: {{^---$}}
234
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
306
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:295 :3\)'$}}
235
307
// CHECK: {{^kind:[ ]+Memoization$}}
236
308
// CHECK: {{^event:[ ]+End$}}
237
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
238
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:224 :5'$}}
309
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
310
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:296 :5'$}}
239
311
// CHECK-LABEL: {{^---$}}
240
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
312
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:295 :3\)'$}}
241
313
// CHECK: {{^kind:[ ]+Memoization$}}
242
314
// CHECK: {{^event:[ ]+Begin$}}
243
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
244
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:224 :5'$}}
315
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
316
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:296 :5'$}}
245
317
// CHECK-LABEL: {{^---$}}
246
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
318
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:295 :3\)'$}}
247
319
// CHECK: {{^kind:[ ]+Memoization$}}
248
320
// CHECK: {{^event:[ ]+End$}}
249
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
250
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:224 :5'$}}
321
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
322
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:296 :5'$}}
251
323
// CHECK-LABEL: {{^---$}}
252
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
324
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:295 :3\)'$}}
253
325
// CHECK: {{^kind:[ ]+Memoization$}}
254
326
// CHECK: {{^event:[ ]+Begin$}}
255
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
256
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
327
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
328
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
257
329
// CHECK-LABEL: {{^---$}}
258
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
330
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:295 :3\)'$}}
259
331
// CHECK: {{^kind:[ ]+Memoization$}}
260
332
// CHECK: {{^event:[ ]+End$}}
261
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
262
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
333
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
334
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
263
335
264
336
265
337
template <template <typename > class >
@@ -275,59 +347,59 @@ void foo() {
275
347
// CHECK: {{^name:[ ]+d$}}
276
348
// CHECK: {{^kind:[ ]+ExplicitTemplateArgumentSubstitution$}}
277
349
// CHECK: {{^event:[ ]+Begin$}}
278
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
279
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
350
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:338 :6'$}}
351
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:343 :3'$}}
280
352
// CHECK-LABEL: {{^---$}}
281
353
// CHECK: {{^name:[ ]+unnamed template template parameter 0 of d$}}
282
354
// CHECK: {{^kind:[ ]+PriorTemplateArgumentSubstitution$}}
283
355
// CHECK: {{^event:[ ]+Begin$}}
284
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:265 :35'$}}
356
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:337 :35'$}}
285
357
// CHECK: {{^poi:[ ]+''$}}
286
358
// CHECK-LABEL: {{^---$}}
287
359
// CHECK: {{^name:[ ]+unnamed template template parameter 0 of d$}}
288
360
// CHECK: {{^kind:[ ]+PriorTemplateArgumentSubstitution$}}
289
361
// CHECK: {{^event:[ ]+End$}}
290
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:265 :35'$}}
362
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:337 :35'$}}
291
363
// CHECK: {{^poi:[ ]+''$}}
292
364
// CHECK-LABEL: {{^---$}}
293
365
// CHECK: {{^name:[ ]+d$}}
294
366
// CHECK: {{^kind:[ ]+ExplicitTemplateArgumentSubstitution$}}
295
367
// CHECK: {{^event:[ ]+End$}}
296
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
297
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
368
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:338 :6'$}}
369
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:343 :3'$}}
298
370
// CHECK-LABEL: {{^---$}}
299
371
// CHECK: {{^name:[ ]+d$}}
300
372
// CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
301
373
// CHECK: {{^event:[ ]+Begin$}}
302
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
303
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
374
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:338 :6'$}}
375
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:343 :3'$}}
304
376
// CHECK-LABEL: {{^---$}}
305
377
// CHECK: {{^name:[ ]+d$}}
306
378
// CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
307
379
// CHECK: {{^event:[ ]+End$}}
308
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
309
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
380
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:338 :6'$}}
381
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:343 :3'$}}
310
382
// CHECK-LABEL: {{^---$}}
311
383
// CHECK: {{^name:[ ]+'d<C>'$}}
312
384
// CHECK: {{^kind:[ ]+TemplateInstantiation$}}
313
385
// CHECK: {{^event:[ ]+Begin$}}
314
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
315
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
386
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:338 :6'$}}
387
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:343 :3'$}}
316
388
// CHECK-LABEL: {{^---$}}
317
389
// CHECK: {{^name:[ ]+'d<C>'$}}
318
390
// CHECK: {{^kind:[ ]+TemplateInstantiation$}}
319
391
// CHECK: {{^event:[ ]+End$}}
320
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
321
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
392
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:338 :6'$}}
393
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:343 :3'$}}
322
394
// CHECK-LABEL: {{^---$}}
323
395
// CHECK: {{^name:[ ]+d$}}
324
396
// CHECK: {{^kind:[ ]+ExplicitTemplateArgumentSubstitution$}}
325
397
// CHECK: {{^event:[ ]+Begin$}}
326
398
// CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:171:29'$}}
327
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
399
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:343 :3'$}}
328
400
// CHECK-LABEL: {{^---$}}
329
401
// CHECK: {{^name:[ ]+d$}}
330
402
// CHECK: {{^kind:[ ]+ExplicitTemplateArgumentSubstitution$}}
331
403
// CHECK: {{^event:[ ]+End$}}
332
404
// CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:171:29'$}}
333
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
405
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:343 :3'$}}
0 commit comments