Skip to content

Commit 6a33e87

Browse files
authored
Merge pull request github#13100 from jketema/order-by-order
C++: Fix the location of order-by in experimental `RangeNode`
2 parents 2f0c36a + a5c7d09 commit 6a33e87

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/lib/experimental/semmle/code/cpp/rangeanalysis/extensions

1 file changed

+1
-1
lines changed

cpp/ql/lib/experimental/semmle/code/cpp/rangeanalysis/extensions/RangeNode.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private class ExprRangeNode extends DataFlow::ExprNode {
8686
concat(Expr arg, int i |
8787
arg = e.getArgument(i)
8888
|
89-
this.getIntegralBounds(arg) order by i, ","
89+
this.getIntegralBounds(arg), "," order by i
9090
) + ")"
9191
}
9292

0 commit comments

Comments
 (0)