[AST] Remove SerializedLocalDeclContext

It's not clear that its worth keeping this as a
base class for SerializedAbstractClosure and
SerializedTopLevelCodeDecl, most clients are
interested in the concrete kinds, not only whether
the context is serialized.
This commit is contained in:
Hamish Knight
2024-01-18 12:03:52 +00:00
parent f6b7301259
commit 3f4b45b012
21 changed files with 95 additions and 126 deletions

View File

@@ -186,7 +186,8 @@ swift::refactoring::checkExtractConditions(const ResolvedRangeInfo &RangeInfo,
case swift::DeclContextKind::TopLevelCodeDecl:
break;
case swift::DeclContextKind::SerializedLocal:
case swift::DeclContextKind::SerializedAbstractClosure:
case swift::DeclContextKind::SerializedTopLevelCodeDecl:
case swift::DeclContextKind::Package:
case swift::DeclContextKind::Module:
case swift::DeclContextKind::FileUnit: