mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #71069 from meg-gupta/lifetimedependencelangattr
Initial language support for lifetime dependence
This commit is contained in:
@@ -6709,13 +6709,13 @@ detail::function_deserializer::deserialize(ModuleFile &MF,
|
||||
globalActor = globalActorTy.get();
|
||||
}
|
||||
|
||||
auto info =
|
||||
FunctionType::ExtInfoBuilder(*representation, noescape, throws,
|
||||
thrownError, *diffKind,
|
||||
clangFunctionType, globalActor)
|
||||
.withConcurrent(concurrent)
|
||||
.withAsync(async)
|
||||
.build();
|
||||
// TODO: Handle LifetimeDependenceInfo here.
|
||||
auto info = FunctionType::ExtInfoBuilder(
|
||||
*representation, noescape, throws, thrownError, *diffKind,
|
||||
clangFunctionType, globalActor, LifetimeDependenceInfo())
|
||||
.withConcurrent(concurrent)
|
||||
.withAsync(async)
|
||||
.build();
|
||||
|
||||
auto resultTy = MF.getTypeChecked(resultID);
|
||||
if (!resultTy)
|
||||
|
||||
Reference in New Issue
Block a user