CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds array access expressions with an index expression consisting of a postfix increment (`++`) expression.

import cpp

from ArrayExpr a
where a.getArrayOffset() instanceof PostfixIncrExpr
select a