C++: Remove redundant conjunct.

This commit is contained in:
Mathias Vorreiter Pedersen
2021-11-03 13:19:43 +00:00
parent 1f89b4987b
commit 43a4795272

View File

@@ -76,10 +76,7 @@ private class DefOrUse extends TDefOrUse {
/** Holds if this definition or use has rank `rank` in block `block`. */
cached
final predicate hasRankInBlock(IRBlock block, int rnk) {
block = getBlock() and
rnk = getRank(this, block)
}
final predicate hasRankInBlock(IRBlock block, int rnk) { rnk = getRank(this, block) }
/** Gets the location of this element. */
abstract Cpp::Location getLocation();