Skip to content

Commit 38883ce

Browse files
committed
ASTScope: Remove unused shouldCreateAccessorScope() method
1 parent d7f4b1a commit 38883ce

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

include/swift/AST/ASTScope.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,8 +1037,6 @@ class AbstractFunctionDeclScope final : public ASTScopeImpl {
10371037

10381038
NullablePtr<const void> getReferrent() const override;
10391039

1040-
static bool shouldCreateAccessorScope(const AccessorDecl *);
1041-
10421040
protected:
10431041
SourceRange
10441042
getSourceRangeOfEnclosedParamsOfASTNode(bool omitAssertions) const override;

lib/AST/ASTScopeCreation.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,11 +2004,6 @@ ASTScopeImpl::rescueASTAncestorScopesForReuseFromMe() {
20042004
return astAncestorScopes;
20052005
}
20062006

2007-
bool AbstractFunctionDeclScope::shouldCreateAccessorScope(
2008-
const AccessorDecl *const ad) {
2009-
return isLocalizable(ad);
2010-
}
2011-
20122007
#pragma mark verification
20132008

20142009
namespace {

0 commit comments

Comments
 (0)