We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 76ed386 + 9596b7b commit 90a16cfCopy full SHA for 90a16cf
1 file changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
@@ -1726,9 +1726,7 @@ private module Cached {
1726
SsaImpl::ssaFlow(n, succ) and
1727
bb1 = n.getBasicBlock() and
1728
bb2 = succ.getBasicBlock() and
1729
- bb1 != bb2 and
1730
- bb2.dominates(bb1) and
1731
- bb1.getASuccessor+() = bb2
+ bb2.strictlyDominates(bb1)
1732
)
1733
}
1734
0 commit comments