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 fb31570 commit 2f38d36Copy full SHA for 2f38d36
cpp/ql/lib/experimental/semmle/code/cpp/rangeanalysis/extensions/ConstantShiftExprRange.qll
@@ -137,7 +137,7 @@ class ConstantRShiftExprRange extends SimpleRangeAnalysisExpr {
137
}
138
139
override predicate dependsOnChild(Expr child) {
140
- child = getLeftOperand() or child = getLeftOperand()
+ child = getLeftOperand() or child = getRightOperand()
141
142
143
@@ -258,6 +258,6 @@ class ConstantLShiftExprRange extends SimpleRangeAnalysisExpr {
258
259
260
261
262
263
0 commit comments