Skip to content

Commit e5881a9

Browse files
committed
Revert "Limit operands to integer types"
This reverts commit f9915445ef206ad3a0d91ecb92547abd50b0a804. This is already addressed in PR #490
1 parent 446ff6a commit e5881a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cpp/common/src/codingstandards/cpp/Overflow.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import semmle.code.cpp.valuenumbering.GlobalValueNumbering
1414
*/
1515
class InterestingOverflowingOperation extends Operation {
1616
InterestingOverflowingOperation() {
17-
forex(Expr operand | operand = this.getAnOperand() | operand.getUnderlyingType() instanceof IntegralType) and
1817
// Might overflow or underflow
1918
(
2019
exprMightOverflowNegatively(this)

0 commit comments

Comments
 (0)