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

    <tr>
        <th>Summary</th>
        <td>
            `readability-implicit-bool-conversion` false positive when `!!` is used
        </td>
    </tr>

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

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

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

<pre>
    ```cpp
int cb();

bool f()
{
        return !!cb();
}
```

```
<source>:5:11: warning: implicit conversion 'int' -> bool [readability-implicit-bool-conversion]
        return !!cb();
                ~^
                (     == 0)
1 warning generated.
```

https://godbolt.org/z/zrddreEeY
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUd1u6yAMfhpygxIRyE9zkYtt7d7hXEJwEiYaIiCttqc_TtJuRz3aNGSMsbH98Vk5_d6Siu3SzTNhR8KezBRppwg_EN4Q8bw7d62cs7S_hXZ__fmg8RAXP1HCc5T_K9THm3Hv-G_lR6d4CW7xHRBxIuKpxJ3nqOhV-slMw2qa82xNZxCsmy7gg3Fr7xrho6YpZtINLymfPUgtlbEmvqf3tHQNpl-5pLzho7f183fowyL1iZSnb2L8sJ_iiELZJ3v5_T90gAm8jKCzH0gaY5wDfp3wV5TBaeVszJwf8Paxbq-1hxP8SXQrdCMamUQTLaxD_hUFFaO9tAHo7IKJ5gL0OgJSgDA2FtYHJtAlgE4Wb9sHQCaOi8o6d8aLtZf7kc7evUGHY3k1ISwQ0CiLhhfJ2CrJdHfQVVVDLjXLuRKlqMu-h1L2PGeJlQpsaHGIhPMJrnQrgTbOKzEtZ5yzIi9ZVbC8yuq-qUQhWNN3XdFoIAWDszQ2W3GsTCW-3SCpZQgYtCbE8BWUIZhhAtjaYX25xNH5tjcervICyda73bD_BdH57Mw">