We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd8c960 commit feccaf7Copy full SHA for feccaf7
1 file changed
cpp/common/src/codingstandards/cpp/ConstantExpressions.qll
@@ -56,7 +56,7 @@ class IntegerConstantExpr extends FinalExpr {
56
or
57
result = this.(UnaryPlusExpr).getOperand().getFullyConverted().getValue().toBigInt()
58
59
- result = this.(NotExpr).getOperand().getFullyConverted().getValue().toBigInt().bitNot()
+ result = this.(ComplementExpr).getOperand().getFullyConverted().getValue().toBigInt().bitNot()
60
61
exists(BinaryOperation op, QlBuiltins::BigInt left, QlBuiltins::BigInt right |
62
op = this and
0 commit comments