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:
@@ -1943,8 +1943,6 @@ SwiftDeclCollector::addMembersToRoot(SDKNode *Root, IterableDeclContext *Context
|
||||
// All containing variables should have been handled.
|
||||
} else if (isa<EnumCaseDecl>(Member)) {
|
||||
// All containing variables should have been handled.
|
||||
} else if (isa<IfConfigDecl>(Member)) {
|
||||
// All containing members should have been handled.
|
||||
} else if (isa<PoundDiagnosticDecl>(Member)) {
|
||||
// All containing members should have been handled.
|
||||
} else if (isa<DestructorDecl>(Member)) {
|
||||
|
||||
Reference in New Issue
Block a user