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.
1 parent 1f89b49 commit 43a4795Copy full SHA for 43a4795
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternals.qll
@@ -76,10 +76,7 @@ private class DefOrUse extends TDefOrUse {
76
77
/** Holds if this definition or use has rank `rank` in block `block`. */
78
cached
79
- final predicate hasRankInBlock(IRBlock block, int rnk) {
80
- block = getBlock() and
81
- rnk = getRank(this, block)
82
- }
+ final predicate hasRankInBlock(IRBlock block, int rnk) { rnk = getRank(this, block) }
83
84
/** Gets the location of this element. */
85
abstract Cpp::Location getLocation();
0 commit comments