mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
C++: Better join order for reachesWithoutAssignment.
This commit is contained in:
@@ -549,7 +549,7 @@ module FlowVar_internal {
|
|||||||
bb = this.(Loop).getStmt() and
|
bb = this.(Loop).getStmt() and
|
||||||
v = this.getARelevantVariable()
|
v = this.getARelevantVariable()
|
||||||
or
|
or
|
||||||
this.reachesWithoutAssignment(bb.getAPredecessor(), v) and
|
this.reachesWithoutAssignment(pragma[only_bind_out](bb.getAPredecessor()), v) and
|
||||||
this.bbInLoop(bb)
|
this.bbInLoop(bb)
|
||||||
) and
|
) and
|
||||||
not assignsToVar(bb, v)
|
not assignsToVar(bb, v)
|
||||||
|
|||||||
Reference in New Issue
Block a user