mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
committed by
GitHub
parent
41c1e1a4c6
commit
1bdb6b45f8
@@ -1412,7 +1412,7 @@ class ComparisonFormula extends TComparisonFormula, Formula {
|
||||
pred = directMember("getRightOperand") and result = this.getRightOperand()
|
||||
}
|
||||
|
||||
/** Hplds if this comparison has the operands `a` and `b` (in any order). */
|
||||
/** Holds if this comparison has the operands `a` and `b` (in any order). */
|
||||
pragma[noinline]
|
||||
predicate hasOperands(Expr a, Expr b) {
|
||||
this.getLeftOperand() = a and this.getRightOperand() = b
|
||||
|
||||
Reference in New Issue
Block a user