mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Distributed] Decl: Add a new distributed-thunk bit
The flag is used to distinguish between regular functions/accessors and synthesized distributed thunks.
This commit is contained in:
@@ -731,6 +731,7 @@ static FuncDecl *createDistributedThunkFunction(FuncDecl *func) {
|
||||
genericParamList, params,
|
||||
func->getResultInterfaceType(), DC);
|
||||
thunk->setSynthesized(true);
|
||||
thunk->setDistributedThunk(true);
|
||||
thunk->getAttrs().add(new (C) NonisolatedAttr(/*isImplicit=*/true));
|
||||
|
||||
if (isa<ClassDecl>(DC))
|
||||
|
||||
Reference in New Issue
Block a user