mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
implement parsing, AST, and basic Sema support for 'defer'.
SILGen support and diagnosing jumps out of a defer aren't done yet. Swift SVN r27759
This commit is contained in:
@@ -700,6 +700,9 @@ struct ASTNodeBase {};
|
||||
|
||||
verifyCheckedBase(S);
|
||||
}
|
||||
void verifyChecked(DeferStmt *S) {
|
||||
verifyCheckedBase(S);
|
||||
}
|
||||
|
||||
void verifyChecked(FailStmt *S) {
|
||||
// Dig out the initializer we're in (if we are).
|
||||
|
||||
Reference in New Issue
Block a user