[AST] Remove ParameterTypeFlags from ParenType and TupleType

The last clients that relied on stashing parameter
type flags on these types are now gone.
This commit is contained in:
Hamish Knight
2022-08-02 13:56:32 +01:00
parent 77b00821aa
commit 9da53193da
24 changed files with 62 additions and 266 deletions

View File

@@ -3649,7 +3649,6 @@ namespace {
void visitParenType(ParenType *T, StringRef label) {
printCommon(label, "paren_type");
dumpParameterFlags(T->getParameterFlags());
printRec(T->getUnderlyingType());
PrintWithColorRAII(OS, ParenthesisColor) << ')';
}
@@ -3664,7 +3663,6 @@ namespace {
PrintWithColorRAII(OS, TypeFieldColor) << "tuple_type_elt";
if (elt.hasName())
printField("name", elt.getName().str());
dumpParameterFlags(elt.getParameterFlags());
printRec(elt.getType());
OS << ")";
}