Skip to content

Commit 3794aab

Browse files
committed
[Parse] Remove unused ScopeKind
1 parent 7c52dee commit 3794aab

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

include/swift/Parse/Scope.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,10 @@ enum class ScopeKind {
6767
StructBody,
6868
ClassBody,
6969
ProtocolBody,
70-
ConstructorBody,
71-
DestructorBody,
7270
InheritanceClause,
7371

7472
Brace,
7573
TopLevel,
76-
ForVars,
7774
ForeachVars,
7875
CaseVars,
7976
CatchVars,

lib/Parse/Scope.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ static bool isResolvableScope(ScopeKind SK) {
3636
return false;
3737
case ScopeKind::FunctionBody:
3838
case ScopeKind::Generics:
39-
case ScopeKind::ConstructorBody:
40-
case ScopeKind::DestructorBody:
4139
case ScopeKind::Brace:
42-
case ScopeKind::ForVars:
4340
case ScopeKind::ForeachVars:
4441
case ScopeKind::ClosureParams:
4542
case ScopeKind::CaseVars:

0 commit comments

Comments
 (0)