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

    <tr>
        <th>Summary</th>
        <td>
            lldb/tools/lldb-dap/JSONUtils.cpp:139: Pointless duplication ?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    lldb/tools/lldb-dap/JSONUtils.cpp:139:78: style: Same expression 'lldb::eTypeClassUnion' found multiple times in chain of '|' operators. [duplicateExpression]

Source code is

  return (t.GetTypeClass() & (lldb::eTypeClassUnion | lldb::eTypeClassStruct |
 lldb::eTypeClassUnion | lldb::eTypeClassArray)) !=
         0;

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkk9v3CwQxj_N-IJi4QEv5uCDk339Sj20lbb5ANjM7lJhYwFOu9--spNNe2gP4cC_B575MYxJyV1mohbqR6iPhVnzNcTWjoOoZDEEe2u9twNgn0PwCbDflg_WLID9p9OXz8_Z-VSOywKiq4QG0akGRMdSvnnaJiczEaOfS6SUXJgZoNodRQeio2-3hZ68Sel5dmEGVOwc1tmyafXZLZ5YdhMl5mY2Xo2bWThvBqCetqNhoWhyiKlkUD_adfFuNJn-ew8G9RH4EXj32p_CGkdiY7DEXPpTYSxSXuNG1-Tyf8rvXIANoGaAh037JzkD9cT-pp5yXMe8yW-RPm7RxWhugPqVowJxvEO_NQ7i8XWrsK2wWmhTUFupiuu61s2huLbGal5ZqVE1_ICKU1WdjRSHSuPAUfPCtchRcoG8UkLwQymlFUrXXMmDPFupQXKajPOl9y9TGeKlcCmt1Da1VrLwZiCf9ipCnOkH20VA3Ioqttudh2G9JJDcu5TTb5fssqcPFxn7GtycPaXE7v--p1D0xRp9e815SVsesQfsLy5f16Ecw7Rbv9yHhyWG7zRmwH7H3SLvz_kVAAD___hy8yo">