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:
@@ -2020,11 +2020,6 @@ void SILGenModule::tryEmitPropertyDescriptor(AbstractStorageDecl *decl) {
|
||||
(void)SILProperty::create(M, /*serializedKind*/ 0, decl, component);
|
||||
}
|
||||
|
||||
void SILGenModule::visitIfConfigDecl(IfConfigDecl *ICD) {
|
||||
// Nothing to do for these kinds of decls - anything active has been added
|
||||
// to the enclosing declaration.
|
||||
}
|
||||
|
||||
void SILGenModule::visitPoundDiagnosticDecl(PoundDiagnosticDecl *PDD) {
|
||||
// Nothing to do for #error/#warning; they've already been emitted.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user