mirror of
https://github.com/github/codeql.git
synced 2026-04-21 23:14:03 +02:00
autoformat
This commit is contained in:
@@ -1673,7 +1673,9 @@ class LocalVariableDeclExpr extends Expr, @localvariabledeclexpr {
|
||||
or
|
||||
exists(PatternCase pc | this.getParent() = pc | result.isNthChildOf(pc, -2))
|
||||
or
|
||||
exists(RecordPatternExpr rpe, int index | this.isNthChildOf(rpe, index) and result.isNthChildOf(rpe, -(index + 1)) )
|
||||
exists(RecordPatternExpr rpe, int index |
|
||||
this.isNthChildOf(rpe, index) and result.isNthChildOf(rpe, -(index + 1))
|
||||
)
|
||||
}
|
||||
|
||||
/** Gets the name of the variable declared by this local variable declaration expression. */
|
||||
|
||||
@@ -231,8 +231,7 @@ class Guard extends ExprParent {
|
||||
branch = true and
|
||||
bb2.getFirstNode() = sc.getControlFlowNode() and
|
||||
pred = sc.getControlFlowNode().getAPredecessor() and
|
||||
isNonFallThroughPredecessor(sc, pred)
|
||||
and
|
||||
isNonFallThroughPredecessor(sc, pred) and
|
||||
bb1 = pred.getBasicBlock()
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user