mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -503,12 +503,13 @@ static bool initDocEntityInfo(const Decl *D,
|
||||
|
||||
switch(D->getDeclContext()->getContextKind()) {
|
||||
case DeclContextKind::AbstractClosureExpr:
|
||||
case DeclContextKind::SerializedAbstractClosure:
|
||||
case DeclContextKind::TopLevelCodeDecl:
|
||||
case DeclContextKind::SerializedTopLevelCodeDecl:
|
||||
case DeclContextKind::AbstractFunctionDecl:
|
||||
case DeclContextKind::SubscriptDecl:
|
||||
case DeclContextKind::EnumElementDecl:
|
||||
case DeclContextKind::Initializer:
|
||||
case DeclContextKind::SerializedLocal:
|
||||
case DeclContextKind::ExtensionDecl:
|
||||
case DeclContextKind::GenericTypeDecl:
|
||||
case DeclContextKind::MacroDecl:
|
||||
|
||||
Reference in New Issue
Block a user