We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69d90f2 commit 3a1bdbaCopy full SHA for 3a1bdba
llvm/lib/IR/AsmWriter.cpp
@@ -649,14 +649,8 @@ void TypePrinting::print(Type *Ty, raw_ostream &OS) {
649
OS << "target(\"";
650
printEscapedString(Ty->getTargetExtName(), OS);
651
OS << "\"";
652
- for (Type *Inner : TETy->type_params()) {
653
- OS << ", ";
654
- if (Inner->isStructTy()) {
655
- StructType *STy = cast<StructType>(Inner);
656
- printStructBody(STy, OS);
657
- } else
658
- OS << *Inner;
659
- }
+ for (Type *Inner : TETy->type_params())
+ OS << ", " << *Inner;
660
for (unsigned IntParam : TETy->int_params())
661
OS << ", " << IntParam;
662
OS << ")";
0 commit comments