mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Requestify FallthroughStmt source and destination lookup
Follow a similar pattern to BreakTargetRequest and ContinueTargetRequest.
This commit is contained in:
@@ -1794,7 +1794,7 @@ private:
|
||||
}
|
||||
|
||||
ASTNode visitFallthroughStmt(FallthroughStmt *fallthroughStmt) {
|
||||
if (checkFallthroughStmt(context.getAsDeclContext(), fallthroughStmt))
|
||||
if (checkFallthroughStmt(fallthroughStmt))
|
||||
hadError = true;
|
||||
return fallthroughStmt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user