We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8891ae7 commit cca2d9dCopy full SHA for cca2d9d
java/ql/src/semmle/code/java/Expr.qll
@@ -1344,10 +1344,7 @@ class VarAccess extends Expr, @varaccess {
1344
*/
1345
predicate isLValue() {
1346
exists(Assignment a | a.getDest() = this) or
1347
- exists(PreIncExpr e | e.getExpr() = this) or
1348
- exists(PreDecExpr e | e.getExpr() = this) or
1349
- exists(PostIncExpr e | e.getExpr() = this) or
1350
- exists(PostDecExpr e | e.getExpr() = this)
+ exists(UnaryAssignExpr e | e.getExpr() = this)
1351
}
1352
1353
/**
0 commit comments