Clarification for 5-0-20 (operands to a binary bitwise operator)

Moderators: david ward, misra cpp

udi
Posts: 8
Joined: Wed May 11, 2016 8:24 am
Company: Elbit

Clarification for 5-0-20 (operands to a binary bitwise operator)

Postby udi » Tue Feb 05, 2019 3:52 pm

Hi,

Just to clarify what seems to be a mistake in the implementation of the static analysis tool I use:
According to the rationale, I believe that this rule does not refer to the shift operators, but only to following 6 operators:
&
|
^
&=
|=
^=
Am I right about this?

Thanks,
Udi.

Return to “6.5 Expressions (C++)”

Who is online

Users browsing this forum: No registered users and 0 guests