mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove IfConfigDecl from the AST
The swift-syntax tree retains information about the parsed #if regions. Drop it from the semantic AST.
This commit is contained in:
@@ -310,7 +310,6 @@ ContextFreeCodeCompletionResult::getCodeCompletionDeclKind(const Decl *D) {
|
||||
case DeclKind::PatternBinding:
|
||||
case DeclKind::EnumCase:
|
||||
case DeclKind::TopLevelCode:
|
||||
case DeclKind::IfConfig:
|
||||
case DeclKind::PoundDiagnostic:
|
||||
case DeclKind::Missing:
|
||||
case DeclKind::MissingMember:
|
||||
|
||||
Reference in New Issue
Block a user