C++: Get rid of '+ 1' in comments.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-08-10 11:38:40 +01:00
parent b750016bc1
commit dcc1429ed8

View File

@@ -147,8 +147,8 @@ private module SizeBarrier {
left = value.getAUse() and
// We know:
// 1. result <= value + delta (by `bounded`)
// 2. value < right + k + 1 (by `operandGuardChecks`).
// Note that condition 2 implies: value <= right + k. So we have:
// 2. value <= right + k (by `operandGuardChecks`).
// So:
// result <= value + delta (by 1.)
// <= right + k + delta (by 2.)
operandGuardChecks(pragma[only_bind_into](g), pragma[only_bind_into](left), right,