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 e397e5d commit 1aa7a82Copy full SHA for 1aa7a82
cpp/ql/src/semmle/code/cpp/rangeanalysis/Bound.qll
@@ -68,7 +68,7 @@ class ValueNumberBound extends Bound, TBoundValueNumber {
68
69
ValueNumberBound() { this = TBoundValueNumber(vn) }
70
71
- /** Gets the SSA variable that equals this bound. */
+ /** Gets an `Instruction` that equals this bound. */
72
override Instruction getInstruction(int delta) {
73
this = TBoundValueNumber(valueNumber(result)) and delta = 0
74
}
@@ -77,5 +77,6 @@ class ValueNumberBound extends Bound, TBoundValueNumber {
77
78
override Location getLocation() { result = vn.getLocation() }
79
80
+ /** Gets the value number that equals this bound. */
81
ValueNumber getValueNumber() { result = vn }
82
0 commit comments