<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/87271>87271</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            clang/utils/TableGen/SveEmitter.cpp:102: possible wrong operator ? 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          dcb314
      </td>
    </tr>
</table>

<pre>
    Static analyser cppcheck says:

clang/utils/TableGen/SveEmitter.cpp:102:37: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition]

Source code is

  bool isVoid() const { return Void & !Pointer; }

Perhaps better code:

  bool isVoid() const { return Void && !Pointer; }

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkkGP2ywQhn_N-DJaywY7Tg4-JLufv-tKW_WOYWJPS8Bi8Kb595XTSN32UGkvgDQDD_PqMSI8BaIe2hO0L4VZ8xxT7-yo66YYo7v1b9lktmiC8TehhHZZ7Ez2O4q5CegjVC9QPVbrTZhADWtmL6CGL2b09D8FUMPbO_134ZwplXZZQB_rSoE-6g70ESXfPG2HU4yeTMBEsvqMLLgKOeSAI-crC2FcKJnMMZT47E3i8w3px5JIhGPAK-cZF5Mo5JmEpERoT_ZX33MMjreb0L58_PRbXJMltNERsnysII4xemT5GtmB2oM6oI1BMkJ3wkR5TQG3GoLaIaj6NXLIlECfELo_IK-UZrMIjrRFcIf9ld2nYP_gFa7X7qAPpqC-7ur6cNjtdVvMvW07t3Pnc2frxtmq0vtDa8l0rRpHrV1XcK8q1VRNVdf7ptJtSV2zc7RTe1L1uTsTNBVdDPvS-_dLGdNUsMhK_b5TXV14M5KXu0lKPUxQm1Sp3_qfxnUSaCrPkuX3C5mzp_7z4uASRXj0hNcUw_TwIiYEPWCxJt_POS93QdUAapg4z-tY2ngBNWz0x_a0pPiNbAY13IfZ6Pd5fgYAAP__NRX6DA">