mirror of
https://github.com/github/codeql.git
synced 2026-04-22 07:15:15 +02:00
fix for when the concatenation root is in parentheses
This commit is contained in:
@@ -23,7 +23,7 @@ Expr leftChild(Expr e) {
|
||||
}
|
||||
|
||||
predicate isInConcat(Expr e) {
|
||||
exists(ParExpr par | par.getExpression() = e)
|
||||
exists(ParExpr par | isInConcat(par) and par.getExpression() = e)
|
||||
or
|
||||
exists(AddExpr a | a.getAnOperand() = e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user