Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions include/swift/AST/Decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -3045,13 +3045,6 @@ class ValueDecl : public Decl {
/// `distributed var get { }` accessors.
bool isDistributedGetAccessor() const;

/// Is this a 'distributed thunk'?
///
/// Distributed thunks are synthesized functions which perform the "is remote?"
/// check, before dispatching to a 'system.remoteCall' (if actor was remote).
/// They are always 'async' and 'throws'.
bool isDistributedThunk() const;

bool hasName() const { return bool(Name); }
bool isOperator() const { return Name.isOperator(); }

Expand Down
7 changes: 0 additions & 7 deletions lib/AST/DistributedDecl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1367,13 +1367,6 @@ bool ValueDecl::isDistributedGetAccessor() const {
return false;
}

bool ValueDecl::isDistributedThunk() const {
if (auto func = dyn_cast<AbstractFunctionDecl>(this)) {
return func->isDistributedThunk();
}
return false;
}

ConstructorDecl *
NominalTypeDecl::getDistributedRemoteCallTargetInitFunction() const {
auto mutableThis = const_cast<NominalTypeDecl *>(this);
Expand Down