File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -3729,18 +3729,16 @@ namespace {
3729
3729
printField (" num_elements" , T->getNumElements ());
3730
3730
Indent += 2 ;
3731
3731
for (Type elt : T->getElementTypes ()) {
3732
- OS.indent (Indent) << " (" ;
3733
3732
printRec (elt);
3734
- OS << " )" ;
3735
3733
}
3736
3734
Indent -= 2 ;
3737
3735
PrintWithColorRAII (OS, ParenthesisColor) << ' )' ;
3738
3736
}
3739
3737
3740
3738
void visitPackExpansionType (PackExpansionType *T, StringRef label) {
3741
3739
printCommon (label, " pack_expansion_type" );
3742
- printField (" pattern" , T->getPatternType ());
3743
- printField (" count" , T->getCountType ());
3740
+ printRec (" pattern" , T->getPatternType ());
3741
+ printRec (" count" , T->getCountType ());
3744
3742
PrintWithColorRAII (OS, ParenthesisColor) << ' )' ;
3745
3743
}
3746
3744
Original file line number Diff line number Diff line change @@ -5548,7 +5548,7 @@ class TypePrinter : public TypeVisitor<TypePrinter> {
5548
5548
}
5549
5549
5550
5550
void visitPackType (PackType *T) {
5551
- Printer << " ( " ;
5551
+ Printer << " Pack{ " ;
5552
5552
5553
5553
auto Fields = T->getElementTypes ();
5554
5554
for (unsigned i = 0 , e = Fields.size (); i != e; ++i) {
@@ -5557,7 +5557,7 @@ class TypePrinter : public TypeVisitor<TypePrinter> {
5557
5557
Type EltType = Fields[i];
5558
5558
visit (EltType);
5559
5559
}
5560
- Printer << " ) " ;
5560
+ Printer << " } " ;
5561
5561
}
5562
5562
5563
5563
void visitPackExpansionType (PackExpansionType *T) {
You can’t perform that action at this time.
0 commit comments