зеркало из https://github.com/github/codeql.git
C++: Make the formatting of conjunct when using 'getDualValue' consistent.
This commit is contained in:
Родитель
459bb6ed04
Коммит
409f2c1251
|
@ -844,8 +844,7 @@ private predicate compares_eq(
|
||||||
complex_eq(test, left, right, k, areEqual, value)
|
complex_eq(test, left, right, k, areEqual, value)
|
||||||
or
|
or
|
||||||
/* (x is true => (left == right + k)) => (!x is false => (left == right + k)) */
|
/* (x is true => (left == right + k)) => (!x is false => (left == right + k)) */
|
||||||
exists(AbstractValue dual |
|
exists(AbstractValue dual | value = dual.getDualValue() |
|
||||||
value = dual.getDualValue() and
|
|
||||||
compares_eq(test.(LogicalNotValueNumber).getUnary(), left, right, k, areEqual, dual)
|
compares_eq(test.(LogicalNotValueNumber).getUnary(), left, right, k, areEqual, dual)
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
|
|
Загрузка…
Ссылка в новой задаче