Skip to content

Commit 1aa7a82

Browse files
committed
Add QLDoc.
1 parent e397e5d commit 1aa7a82

File tree

1 file changed

+2
-1
lines changed
  • cpp/ql/src/semmle/code/cpp/rangeanalysis

1 file changed

+2
-1
lines changed

cpp/ql/src/semmle/code/cpp/rangeanalysis/Bound.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ValueNumberBound extends Bound, TBoundValueNumber {
6868

6969
ValueNumberBound() { this = TBoundValueNumber(vn) }
7070

71-
/** Gets the SSA variable that equals this bound. */
71+
/** Gets an `Instruction` that equals this bound. */
7272
override Instruction getInstruction(int delta) {
7373
this = TBoundValueNumber(valueNumber(result)) and delta = 0
7474
}
@@ -77,5 +77,6 @@ class ValueNumberBound extends Bound, TBoundValueNumber {
7777

7878
override Location getLocation() { result = vn.getLocation() }
7979

80+
/** Gets the value number that equals this bound. */
8081
ValueNumber getValueNumber() { result = vn }
8182
}

0 commit comments

Comments
 (0)