We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05f0991 + dcbd5dd commit be45314Copy full SHA for be45314
cpp/ql/lib/semmle/code/cpp/dataflow/internal/FlowVar.qll
@@ -549,7 +549,7 @@ module FlowVar_internal {
549
bb = this.(Loop).getStmt() and
550
v = this.getARelevantVariable()
551
or
552
- this.reachesWithoutAssignment(bb.getAPredecessor(), v) and
+ this.reachesWithoutAssignment(pragma[only_bind_out](bb.getAPredecessor()), v) and
553
this.bbInLoop(bb)
554
) and
555
not assignsToVar(bb, v)
0 commit comments