mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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:
@@ -368,10 +368,6 @@ public:
|
||||
VISIT_AND_IGNORE(MissingDecl)
|
||||
VISIT_AND_IGNORE(MissingMemberDecl)
|
||||
|
||||
// Only members of the active clause are in scope, and those
|
||||
// are visited separately.
|
||||
VISIT_AND_IGNORE(IfConfigDecl)
|
||||
|
||||
// This declaration is handled from the PatternBindingDecl
|
||||
VISIT_AND_IGNORE(VarDecl)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user