mirror of
https://github.com/github/codeql.git
synced 2026-01-31 07:12:57 +01:00
Address review comments.
This commit is contained in:
@@ -36,7 +36,7 @@ predicate bounds(RelationalComparisonExpr test, Variable v, string direction) {
|
||||
* downward.
|
||||
*/
|
||||
predicate updates(IncDecStmt upd, Variable v, string direction) {
|
||||
upd.getExpr() = v.getAReference() and
|
||||
upd.getOperand() = v.getAReference() and
|
||||
(
|
||||
upd instanceof IncStmt and direction = "upward"
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user