Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c6caf2 commit 16411d1Copy full SHA for 16411d1
1 file changed
cpp/ql/src/Likely Bugs/Arithmetic/SignedOverflowCheck.ql
@@ -21,10 +21,10 @@ where
21
ro.getAnOperand() = va2 and
22
va1.getTarget() = va2.getTarget() and
23
/*
24
- * if the addition/subtraction (`bao`) has been promoted to a signed type,
+ * if the addition (`bao`) has been promoted to a signed type,
25
* then the other operand (`va2`) must have been likewise promoted and so
26
* have a signed comparison
27
*/
28
29
bao.getFullyConverted().getType().(IntegralType).isSigned()
30
-select ro, "Testing for signed overflow/underflow may produce undefined results."
+select ro, "Testing for signed overflow may produce undefined results."
0 commit comments