Rename LifetimeDependentReturnTypeRepr -> LifetimeDependentTypeRepr

This commit is contained in:
Meghana Gupta
2024-06-13 11:36:47 -07:00
parent 4993f4bf22
commit 8137aed238
19 changed files with 85 additions and 89 deletions

View File

@@ -127,14 +127,13 @@ static ValueDecl *deriveInitDecl(DerivedConformance &derived, Type paramType,
// init(rawValue:) decl
auto *initDecl =
new (C) ConstructorDecl(name, SourceLoc(),
/*Failable=*/true, /*FailabilityLoc=*/SourceLoc(),
/*Async=*/false, /*AsyncLoc=*/SourceLoc(),
/*Throws=*/false, /*ThrowsLoc=*/SourceLoc(),
/*ThrownType=*/TypeLoc(),
paramList,
/*GenericParams=*/nullptr, parentDC,
/*LifetimeDependentReturnTypeRepr*/ nullptr);
new (C) ConstructorDecl(name, SourceLoc(),
/*Failable=*/true, /*FailabilityLoc=*/SourceLoc(),
/*Async=*/false, /*AsyncLoc=*/SourceLoc(),
/*Throws=*/false, /*ThrowsLoc=*/SourceLoc(),
/*ThrownType=*/TypeLoc(), paramList,
/*GenericParams=*/nullptr, parentDC,
/*LifetimeDependentTypeRepr*/ nullptr);
initDecl->setImplicit();