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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy][request] Flag implicit enum conversion
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          chrchr-github
      </td>
    </tr>
</table>

<pre>
    Similar to `readability-implicit-bool-conversion`:
~~~c++
enum E { E0, E1 };
void f(E e, bool b) {
    if (e > 0) {} // warn here
    if (b > 0) {}
}
~~~
https://godbolt.org/z/cfjofjfav
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckl-OpCAQxk9TvlTsYOHfBx-m1_YCewJAVCYos4C96X3w7BvtmZ1NJyQUqfq-ovghQjDTqnULxRWKLhFbnJ1v1ezV7NPJxHmTiXTDo_1pFmOFx-gQSua1GIQ01sRHapYPa5SJqXTOpsqtd-2DcSuUDPgbsA7Y277vCuh6rPOs123BG0J1xRsD-oG3DKHqgH_m784MOALVN9RH-rBGCdQckmcJIqIZEajWCPyG7CtbdQjUA_X4W_gVZ-31q0K-Kp4F_4J935_BHONHOKY4DSc3SGfjxfkJqP8D1Kvx3Y3vo7gnQ8uHhjci0W1WZdTwrOZ1MrdMZjXTpa4UJy5lPfBskFqJSuRVxZlKTEuMcpZnlOXEi_KimrIYRd7osSpZMyjImV6EsRdr78vROzEhbLqt6yJrEiuktuHkR6SsWKc0muEBRAdP3x6iVG5TgJxZE2L4tokm2pP8f7Kig-Lq9a9NhwhFh70VE34RxhPbN-Fk87Z9eaLzy1yUW4D6o9Pnln54965VBOrP2weg_hzgbwAAAP__DkvAhg">