mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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:
@@ -1192,8 +1192,6 @@ namespace {
|
||||
CanTupleType inputTupleType,
|
||||
AbstractionPattern outputOrigType,
|
||||
CanTupleType outputTupleType) {
|
||||
assert(!inputTupleType->hasElementWithOwnership() &&
|
||||
!outputTupleType->hasElementWithOwnership());
|
||||
assert(inputTupleType->getNumElements() ==
|
||||
outputTupleType->getNumElements());
|
||||
|
||||
@@ -1282,8 +1280,6 @@ namespace {
|
||||
CanTupleType outputSubstType) {
|
||||
assert(inputOrigType.matchesTuple(inputSubstType));
|
||||
assert(outputOrigType.matchesTuple(outputSubstType));
|
||||
assert(!inputSubstType->hasElementWithOwnership() &&
|
||||
!outputSubstType->hasElementWithOwnership());
|
||||
assert(inputSubstType->getNumElements() ==
|
||||
outputSubstType->getNumElements());
|
||||
|
||||
@@ -1304,8 +1300,6 @@ namespace {
|
||||
ManagedValue inputTupleAddr) {
|
||||
assert(inputOrigType.isTypeParameter());
|
||||
assert(outputOrigType.matchesTuple(outputSubstType));
|
||||
assert(!inputSubstType->hasElementWithOwnership() &&
|
||||
!outputSubstType->hasElementWithOwnership());
|
||||
assert(inputSubstType->getNumElements() ==
|
||||
outputSubstType->getNumElements());
|
||||
|
||||
@@ -1351,8 +1345,6 @@ namespace {
|
||||
TemporaryInitialization &tupleInit) {
|
||||
assert(inputOrigType.matchesTuple(inputSubstType));
|
||||
assert(outputOrigType.matchesTuple(outputSubstType));
|
||||
assert(!inputSubstType->hasElementWithOwnership() &&
|
||||
!outputSubstType->hasElementWithOwnership());
|
||||
assert(inputSubstType->getNumElements() ==
|
||||
outputSubstType->getNumElements());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user