Increment statements in loops

Author: LGTM

import go

from IncStmt s, LoopStmt l
where s.getParent+() = l
select s, l

Description

Finds increment statements that are nested in a loop