Skip to content

Commit 63f1d3d

Browse files
committed
C++: Replace rank[1] with min
1 parent 2303dac commit 63f1d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/ir/internal/ASTValueNumbering.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class GVN extends TValueNumber {
5757

5858
final Location getLocation() {
5959
result =
60-
rank[1](Location l |
60+
min(Location l |
6161
l = getAnExpr().getLocation()
6262
|
6363
l

0 commit comments

Comments
 (0)