Skip to content

Commit 1a109ca

Browse files
author
Gulshan Singh
committed
Remove unicode characters
1 parent 2f38d36 commit 1a109ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ class ConstantRShiftExprRange extends SimpleRangeAnalysisExpr {
148148
* values unconstrained. From the C++ standard: "The behavior is undefined if the right
149149
* operand is negative, or greater than or equal to the length in bits of the promoted left operand.
150150
* The value of E1 << E2 is E1 left-shifted E2 bit positions; vacated bits are zero-filled. If E1
151-
* has an unsigned type, the value of the result is E1 × 2 E2, reduced modulo one more than the
151+
* has an unsigned type, the value of the result is E1 x 2 E2, reduced modulo one more than the
152152
* maximum value representable in the result type. Otherwise, if E1 has a signed type and
153-
* non-negative value, and E1 × 2 E2 is representable in the corresponding unsigned type of the
153+
* non-negative value, and E1 x 2 E2 is representable in the corresponding unsigned type of the
154154
* result type, then that value, converted to the result type, is the resulting value; otherwise,
155155
* the behavior is undefined."
156156
*/

0 commit comments

Comments
 (0)