mirror of
https://github.com/github/codeql.git
synced 2026-01-30 14:52:57 +01:00
Rename Comparison to ComparisonExpr.
This commit is contained in:
@@ -51,10 +51,10 @@ class AssocNestedExpr extends BinaryExpr {
|
||||
class HarmlessNestedExpr extends BinaryExpr {
|
||||
HarmlessNestedExpr() {
|
||||
exists(BinaryExpr parent | this = parent.getAChildExpr() |
|
||||
parent instanceof Comparison and
|
||||
parent instanceof ComparisonExpr and
|
||||
(this instanceof ArithmeticExpr or this instanceof ShiftExpr)
|
||||
or
|
||||
parent instanceof LogicalExpr and this instanceof Comparison
|
||||
parent instanceof LogicalExpr and this instanceof ComparisonExpr
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user