@@ -170,6 +170,30 @@ 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:[ ]+a$}}
181
+ // CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
182
+ // CHECK: {{^event:[ ]+End$}}
183
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:60:57'$}}
184
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:63'$}}
185
+ // CHECK-LABEL: {{^---$}}
186
+ // CHECK: {{^name:[ ]+a$}}
187
+ // CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
188
+ // CHECK: {{^event:[ ]+Begin$}}
189
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:20:25'$}}
190
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:63'$}}
191
+ // CHECK-LABEL: {{^---$}}
192
+ // CHECK: {{^name:[ ]+a$}}
193
+ // CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
194
+ // CHECK: {{^event:[ ]+End$}}
195
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:20:25'$}}
196
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:60:63'$}}
173
197
// CHECK-LABEL: {{^---$}}
174
198
// CHECK: {{^name:[ ]+d$}}
175
199
// CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
@@ -225,41 +249,41 @@ void e() {
225
249
}
226
250
227
251
// CHECK-LABEL: {{^---$}}
228
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
252
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:247 :3\)'$}}
229
253
// CHECK: {{^kind:[ ]+Memoization$}}
230
254
// CHECK: {{^event:[ ]+Begin$}}
231
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
232
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:224 :5'$}}
255
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:247 :3'$}}
256
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:248 :5'$}}
233
257
// CHECK-LABEL: {{^---$}}
234
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
258
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:247 :3\)'$}}
235
259
// CHECK: {{^kind:[ ]+Memoization$}}
236
260
// CHECK: {{^event:[ ]+End$}}
237
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
238
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:224 :5'$}}
261
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:247 :3'$}}
262
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:248 :5'$}}
239
263
// CHECK-LABEL: {{^---$}}
240
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
264
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:247 :3\)'$}}
241
265
// CHECK: {{^kind:[ ]+Memoization$}}
242
266
// CHECK: {{^event:[ ]+Begin$}}
243
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
244
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:224 :5'$}}
267
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:247 :3'$}}
268
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:248 :5'$}}
245
269
// CHECK-LABEL: {{^---$}}
246
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
270
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:247 :3\)'$}}
247
271
// CHECK: {{^kind:[ ]+Memoization$}}
248
272
// CHECK: {{^event:[ ]+End$}}
249
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
250
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:224 :5'$}}
273
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:247 :3'$}}
274
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:248 :5'$}}
251
275
// CHECK-LABEL: {{^---$}}
252
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
276
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:247 :3\)'$}}
253
277
// CHECK: {{^kind:[ ]+Memoization$}}
254
278
// CHECK: {{^event:[ ]+Begin$}}
255
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
256
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
279
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:247 :3'$}}
280
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:247 :3'$}}
257
281
// CHECK-LABEL: {{^---$}}
258
- // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:223 :3\)'$}}
282
+ // CHECK: {{^name:[ ]+'\(unnamed struct at .*templight-empty-entries-fix.cpp:247 :3\)'$}}
259
283
// CHECK: {{^kind:[ ]+Memoization$}}
260
284
// CHECK: {{^event:[ ]+End$}}
261
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
262
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:223 :3'$}}
285
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:247 :3'$}}
286
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:247 :3'$}}
263
287
264
288
265
289
template <template <typename > class >
@@ -275,59 +299,59 @@ void foo() {
275
299
// CHECK: {{^name:[ ]+d$}}
276
300
// CHECK: {{^kind:[ ]+ExplicitTemplateArgumentSubstitution$}}
277
301
// CHECK: {{^event:[ ]+Begin$}}
278
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
279
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
302
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:290 :6'$}}
303
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
280
304
// CHECK-LABEL: {{^---$}}
281
305
// CHECK: {{^name:[ ]+unnamed template template parameter 0 of d$}}
282
306
// CHECK: {{^kind:[ ]+PriorTemplateArgumentSubstitution$}}
283
307
// CHECK: {{^event:[ ]+Begin$}}
284
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:265 :35'$}}
308
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:289 :35'$}}
285
309
// CHECK: {{^poi:[ ]+''$}}
286
310
// CHECK-LABEL: {{^---$}}
287
311
// CHECK: {{^name:[ ]+unnamed template template parameter 0 of d$}}
288
312
// CHECK: {{^kind:[ ]+PriorTemplateArgumentSubstitution$}}
289
313
// CHECK: {{^event:[ ]+End$}}
290
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:265 :35'$}}
314
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:289 :35'$}}
291
315
// CHECK: {{^poi:[ ]+''$}}
292
316
// CHECK-LABEL: {{^---$}}
293
317
// CHECK: {{^name:[ ]+d$}}
294
318
// CHECK: {{^kind:[ ]+ExplicitTemplateArgumentSubstitution$}}
295
319
// CHECK: {{^event:[ ]+End$}}
296
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
297
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
320
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:290 :6'$}}
321
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
298
322
// CHECK-LABEL: {{^---$}}
299
323
// CHECK: {{^name:[ ]+d$}}
300
324
// CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
301
325
// CHECK: {{^event:[ ]+Begin$}}
302
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
303
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
326
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:290 :6'$}}
327
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
304
328
// CHECK-LABEL: {{^---$}}
305
329
// CHECK: {{^name:[ ]+d$}}
306
330
// CHECK: {{^kind:[ ]+DeducedTemplateArgumentSubstitution$}}
307
331
// CHECK: {{^event:[ ]+End$}}
308
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
309
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
332
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:290 :6'$}}
333
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
310
334
// CHECK-LABEL: {{^---$}}
311
335
// CHECK: {{^name:[ ]+'d<C>'$}}
312
336
// CHECK: {{^kind:[ ]+TemplateInstantiation$}}
313
337
// CHECK: {{^event:[ ]+Begin$}}
314
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
315
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
338
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:290 :6'$}}
339
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
316
340
// CHECK-LABEL: {{^---$}}
317
341
// CHECK: {{^name:[ ]+'d<C>'$}}
318
342
// CHECK: {{^kind:[ ]+TemplateInstantiation$}}
319
343
// CHECK: {{^event:[ ]+End$}}
320
- // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:266 :6'$}}
321
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
344
+ // CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:290 :6'$}}
345
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
322
346
// CHECK-LABEL: {{^---$}}
323
347
// CHECK: {{^name:[ ]+d$}}
324
348
// CHECK: {{^kind:[ ]+ExplicitTemplateArgumentSubstitution$}}
325
349
// CHECK: {{^event:[ ]+Begin$}}
326
350
// CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:171:29'$}}
327
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
351
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
328
352
// CHECK-LABEL: {{^---$}}
329
353
// CHECK: {{^name:[ ]+d$}}
330
354
// CHECK: {{^kind:[ ]+ExplicitTemplateArgumentSubstitution$}}
331
355
// CHECK: {{^event:[ ]+End$}}
332
356
// CHECK: {{^orig:[ ]+'.*templight-empty-entries-fix.cpp:171:29'$}}
333
- // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:271 :3'$}}
357
+ // CHECK: {{^poi:[ ]+'.*templight-empty-entries-fix.cpp:295 :3'$}}
0 commit comments