Module NestedLoopSameVar

Provides the implementation of the query ‘Nested loops with same variable’.

Import path

Likely_Bugs.NestedLoopSameVar

Imports

cpp

Provides classes and predicates for working with C/C++ code.

Predicates

nestedForViolation

Holds if inner and outer are nested for statements that use the same loop variable iteration.

simpleFieldAccess

An access to a field of the form object.field.