mirror of
https://github.com/github/codeql.git
synced 2026-03-31 04:38:18 +02:00
Java: Align BinaryExpr.getOp() with AssignOp.getOp().
This commit is contained in:
@@ -11,7 +11,9 @@ string ppGuard(Guard g, Boolean branch) {
|
||||
or
|
||||
exists(BinaryExpr bin |
|
||||
bin = g and
|
||||
result = "'" + bin.getLeftOperand() + bin.getOp() + bin.getRightOperand() + ":" + branch + "'"
|
||||
result =
|
||||
"'" + bin.getLeftOperand() + " " + bin.getOp() + " " + bin.getRightOperand() + ":" + branch +
|
||||
"'"
|
||||
)
|
||||
or
|
||||
exists(SwitchCase cc, Expr s, string match, string value |
|
||||
|
||||
Reference in New Issue
Block a user