mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Store break/continue targets
This commit is contained in:
@@ -1048,3 +1048,14 @@ ktCommentOwner(
|
||||
int id: @ktcomment ref,
|
||||
int owner: @top ref
|
||||
)
|
||||
|
||||
@breakcontinuestmt = @breakstmt
|
||||
| @continuestmt;
|
||||
|
||||
@ktloopstmt = @whilestmt
|
||||
| @dostmt;
|
||||
|
||||
ktBreakContinueTarget(
|
||||
unique int id: @breakcontinuestmt ref,
|
||||
int target: @ktloopstmt ref
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user