mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -4535,7 +4535,6 @@ public:
|
||||
|
||||
void visitParenType(const ParenType *parenTy) {
|
||||
using namespace decls_block;
|
||||
assert(parenTy->getParameterFlags().isNone());
|
||||
serializeSimpleWrapper<ParenTypeLayout>(parenTy->getUnderlyingType());
|
||||
}
|
||||
|
||||
@@ -4546,7 +4545,6 @@ public:
|
||||
|
||||
abbrCode = S.DeclTypeAbbrCodes[TupleTypeEltLayout::Code];
|
||||
for (auto &elt : tupleTy->getElements()) {
|
||||
assert(elt.getParameterFlags().isNone());
|
||||
TupleTypeEltLayout::emitRecord(
|
||||
S.Out, S.ScratchRecord, abbrCode,
|
||||
S.addDeclBaseNameRef(elt.getName()),
|
||||
|
||||
Reference in New Issue
Block a user