@@ -32,7 +32,7 @@ void InstantiateFunctionTemplates() {
32
32
// CHECK-NEXT: ConstantExpr {{.*}} 'const char[6]' lvalue
33
33
// CHECK-NEXT: value: LValue
34
34
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
35
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
35
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'int '
36
36
// CHECK-NEXT: DeclRefExpr {{.*}} 'int' NonTypeTemplateParm {{.*}} 'Is' 'int'
37
37
// CHECK-NEXT: FunctionDecl {{.*}} used FunctionTemplate1 'void ()'
38
38
// CHECK-NEXT: TemplateArgument pack
@@ -90,7 +90,7 @@ void InstantiateFunctionTemplates() {
90
90
// CHECK-NEXT: ConstantExpr {{.*}} 'const char[6]' lvalue
91
91
// CHECK-NEXT: value: LValue
92
92
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
93
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
93
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'int '
94
94
// CHECK-NEXT: DeclRefExpr {{.*}} 'int' NonTypeTemplateParm {{.*}} 'Is' 'int'
95
95
// CHECK-NEXT: FunctionDecl {{.*}} used FunctionTemplate2 'void ()'
96
96
// CHECK-NEXT: TemplateArgument pack
@@ -139,7 +139,7 @@ void InstantiateFunctionTemplates() {
139
139
// CHECK-NEXT: FunctionDecl {{.*}} FunctionTemplate3 'void ()'
140
140
// CHECK-NEXT: CompoundStmt
141
141
// CHECK-NEXT: SYCLAddIRAttributesFunctionAttr
142
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
142
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
143
143
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Names' 'const char *'
144
144
// CHECK-NEXT: ConstantExpr {{.*}} 'int'
145
145
// CHECK-NEXT: value: Int 1
@@ -205,7 +205,7 @@ void InstantiateFunctionTemplates() {
205
205
// CHECK-NEXT: InitListExpr {{.*}} 'void'
206
206
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr1"
207
207
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
208
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
208
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
209
209
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Names' 'const char *'
210
210
// CHECK-NEXT: ConstantExpr {{.*}} 'int'
211
211
// CHECK-NEXT: value: Int 1
@@ -271,7 +271,7 @@ void InstantiateFunctionTemplates() {
271
271
// CHECK-NEXT: FunctionDecl {{.*}} FunctionTemplate5 'void ()'
272
272
// CHECK-NEXT: CompoundStmt
273
273
// CHECK-NEXT: SYCLAddIRAttributesFunctionAttr
274
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
274
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
275
275
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Strs' 'const char *'
276
276
// CHECK-NEXT: FunctionDecl {{.*}} used FunctionTemplate5 'void ()'
277
277
// CHECK-NEXT: TemplateArgument pack
@@ -407,7 +407,7 @@ void InstantiateFunctionTemplates() {
407
407
// CHECK-NEXT: InitListExpr {{.*}} 'void'
408
408
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr1"
409
409
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
410
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
410
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
411
411
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Strs' 'const char *'
412
412
// CHECK-NEXT: FunctionDecl {{.*}} used FunctionTemplate6 'void ()'
413
413
// CHECK-NEXT: TemplateArgument pack
@@ -572,7 +572,7 @@ template <const char *...Strs> struct [[__sycl_detail__::add_ir_attributes_globa
572
572
// CHECK-NEXT: ConstantExpr {{.*}} 'const char[6]' lvalue
573
573
// CHECK-NEXT: value: LValue
574
574
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
575
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
575
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'int '
576
576
// CHECK-NEXT: DeclRefExpr {{.*}} 'int' NonTypeTemplateParm {{.*}} 'Is' 'int'
577
577
// CHECK-NEXT: CXXRecordDecl {{.*}} implicit struct GlobalVarStructTemplate1
578
578
// CHECK-NEXT: ClassTemplateSpecializationDecl {{.*}} struct GlobalVarStructTemplate1 definition
@@ -663,7 +663,7 @@ GlobalVarStructTemplate1<1, 2> InstantiatedGV2;
663
663
// CHECK-NEXT: ConstantExpr {{.*}} 'const char[6]' lvalue
664
664
// CHECK-NEXT: value: LValue
665
665
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
666
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
666
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'int '
667
667
// CHECK-NEXT: DeclRefExpr {{.*}} 'int' NonTypeTemplateParm {{.*}} 'Is' 'int'
668
668
// CHECK-NEXT: CXXRecordDecl {{.*}} implicit struct GlobalVarStructTemplate2
669
669
// CHECK-NEXT: ClassTemplateSpecializationDecl {{.*}} struct GlobalVarStructTemplate2 definition
@@ -745,7 +745,7 @@ GlobalVarStructTemplate2<1, 2> InstantiatedGV4;
745
745
// CHECK-NEXT: MoveAssignment
746
746
// CHECK-NEXT: Destructor
747
747
// CHECK-NEXT: SYCLAddIRAttributesGlobalVariableAttr
748
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
748
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
749
749
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Names' 'const char *'
750
750
// CHECK-NEXT: ConstantExpr {{.*}} 'int'
751
751
// CHECK-NEXT: value: Int 1
@@ -844,7 +844,7 @@ GlobalVarStructTemplate3<AttrName1, AttrName2> InstantiatedGV6;
844
844
// CHECK-NEXT: InitListExpr {{.*}} 'void'
845
845
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr1"
846
846
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
847
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
847
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
848
848
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Names' 'const char *'
849
849
// CHECK-NEXT: ConstantExpr {{.*}} 'int'
850
850
// CHECK-NEXT: value: Int 1
@@ -943,7 +943,7 @@ GlobalVarStructTemplate4<AttrName1, AttrName2> InstantiatedGV8;
943
943
// CHECK-NEXT: MoveAssignment
944
944
// CHECK-NEXT: Destructor
945
945
// CHECK-NEXT: SYCLAddIRAttributesGlobalVariableAttr
946
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
946
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
947
947
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Strs' 'const char *'
948
948
// CHECK-NEXT: CXXRecordDecl {{.*}} implicit struct GlobalVarStructTemplate5
949
949
// CHECK-NEXT: ClassTemplateSpecializationDecl {{.*}} struct GlobalVarStructTemplate5 definition
@@ -1138,7 +1138,7 @@ GlobalVarStructTemplate5<AttrName1, AttrName2, AttrName3, AttrVal1, AttrVal2> In
1138
1138
// CHECK-NEXT: InitListExpr {{.*}} 'void'
1139
1139
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr1"
1140
1140
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
1141
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
1141
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
1142
1142
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Strs' 'const char *'
1143
1143
// CHECK-NEXT: CXXRecordDecl {{.*}} implicit struct GlobalVarStructTemplate6
1144
1144
// CHECK-NEXT: ClassTemplateSpecializationDecl {{.*}} struct GlobalVarStructTemplate6 definition
@@ -1372,7 +1372,7 @@ void InstantiateSpecialClassStructTemplates() {
1372
1372
// CHECK-NEXT: ConstantExpr {{.*}} 'const char[6]' lvalue
1373
1373
// CHECK-NEXT: value: LValue
1374
1374
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
1375
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
1375
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'int '
1376
1376
// CHECK-NEXT: DeclRefExpr {{.*}} 'int' NonTypeTemplateParm {{.*}} 'Is' 'int'
1377
1377
// CHECK-NEXT: CompoundStmt
1378
1378
// CHECK-NEXT: ClassTemplateSpecializationDecl {{.*}} struct SpecialClassStructTemplate1 definition
@@ -1473,7 +1473,7 @@ void InstantiateSpecialClassStructTemplates() {
1473
1473
// CHECK-NEXT: ConstantExpr {{.*}} 'const char[6]' lvalue
1474
1474
// CHECK-NEXT: value: LValue
1475
1475
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
1476
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
1476
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'int '
1477
1477
// CHECK-NEXT: DeclRefExpr {{.*}} 'int' NonTypeTemplateParm {{.*}} 'Is' 'int'
1478
1478
// CHECK-NEXT: CompoundStmt
1479
1479
// CHECK-NEXT: ClassTemplateSpecializationDecl {{.*}} struct SpecialClassStructTemplate2 definition
@@ -1565,7 +1565,7 @@ void InstantiateSpecialClassStructTemplates() {
1565
1565
// CHECK-NEXT: CXXMethodDecl {{.*}} __init 'void (int)'
1566
1566
// CHECK-NEXT: ParmVarDecl {{.*}} x 'int'
1567
1567
// CHECK-NEXT: SYCLAddIRAttributesKernelParameterAttr
1568
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
1568
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
1569
1569
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Names' 'const char *'
1570
1570
// CHECK-NEXT: ConstantExpr {{.*}} 'int'
1571
1571
// CHECK-NEXT: value: Int 1
@@ -1674,7 +1674,7 @@ void InstantiateSpecialClassStructTemplates() {
1674
1674
// CHECK-NEXT: InitListExpr {{.*}} 'void'
1675
1675
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr1"
1676
1676
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
1677
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
1677
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
1678
1678
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Names' 'const char *'
1679
1679
// CHECK-NEXT: ConstantExpr {{.*}} 'int'
1680
1680
// CHECK-NEXT: value: Int 1
@@ -1783,7 +1783,7 @@ void InstantiateSpecialClassStructTemplates() {
1783
1783
// CHECK-NEXT: CXXMethodDecl {{.*}} __init 'void (int)'
1784
1784
// CHECK-NEXT: ParmVarDecl {{.*}} x 'int'
1785
1785
// CHECK-NEXT: SYCLAddIRAttributesKernelParameterAttr
1786
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
1786
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
1787
1787
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Strs' 'const char *'
1788
1788
// CHECK-NEXT: CompoundStmt
1789
1789
// CHECK-NEXT: ClassTemplateSpecializationDecl {{.*}} struct SpecialClassStructTemplate5 definition
@@ -1994,7 +1994,7 @@ void InstantiateSpecialClassStructTemplates() {
1994
1994
// CHECK-NEXT: InitListExpr {{.*}} 'void'
1995
1995
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr1"
1996
1996
// CHECK-NEXT: StringLiteral {{.*}} 'const char[6]' lvalue "Attr3"
1997
- // CHECK-NEXT: PackExpansionExpr {{.*}} '<dependent type> '
1997
+ // CHECK-NEXT: PackExpansionExpr {{.*}} 'const char * '
1998
1998
// CHECK-NEXT: DeclRefExpr {{.*}} 'const char *' NonTypeTemplateParm {{.*}} 'Strs' 'const char *'
1999
1999
// CHECK-NEXT: CompoundStmt
2000
2000
// CHECK-NEXT: ClassTemplateSpecializationDecl {{.*}} struct SpecialClassStructTemplate6 definition
0 commit comments