Skip to content

Commit 90cf79d

Browse files
author
Nikita Kraiouchkine
committed
Update DoNotUseABitwiseOperatorWithABooleanLikeOperand.ql
1 parent 6a93ce4 commit 90cf79d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

c/cert/src/rules/EXP46-C/DoNotUseABitwiseOperatorWithABooleanLikeOperand.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/**
22
* @id c/cert/do-not-use-a-bitwise-operator-with-a-boolean-like-operand
33
* @name EXP46-C: Do not use a bitwise operator with a Boolean-like operand
4-
* @description
4+
* @description Using bitwise operators with unparenthesized Boolean-like operands may
5+
* indicate a logic error.
56
* @kind problem
67
* @precision very-high
78
* @problem.severity error

0 commit comments

Comments
 (0)