Skip to content

Commit 54aef7f

Browse files
committed
ASTScope: Remove isThisAnAbstractStorageDecl()
1 parent 87593fc commit 54aef7f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

include/swift/AST/ASTScope.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,6 @@ class ASTScopeImpl {
353353
private:
354354
virtual ScopeCreator &getScopeCreator();
355355

356-
#pragma mark - - creation queries
357-
public:
358-
virtual bool isThisAnAbstractStorageDecl() const { return false; }
359-
360356
#pragma mark - lookup
361357

362358
public:
@@ -1370,8 +1366,6 @@ class SubscriptDeclScope final : public ASTScopeImpl {
13701366
getEnclosingAbstractStorageDecl() const override {
13711367
return decl;
13721368
}
1373-
public:
1374-
bool isThisAnAbstractStorageDecl() const override { return true; }
13751369
};
13761370

13771371
class VarDeclScope final : public ASTScopeImpl {
@@ -1403,7 +1397,6 @@ class VarDeclScope final : public ASTScopeImpl {
14031397
getEnclosingAbstractStorageDecl() const override {
14041398
return decl;
14051399
}
1406-
bool isThisAnAbstractStorageDecl() const override { return true; }
14071400
};
14081401

14091402
class EnumElementScope : public ASTScopeImpl {

0 commit comments

Comments
 (0)