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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] bugprone-optional-value-conversion - should ignore unevaluated context
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            enhancement,
            clang-tools-extra,
            clang-tidy
      </td>
    </tr>

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

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

<pre>
    Example:

```
 static auto convert(const std::optional<Input>& input)
  -> custom::Optional<decltype(convert(*input))>
```

Same such go for static assert, noexcept, and so on...
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUk-LpD4Q_TTxEpRYRm0PHuY3PQ0_WNiFue0txmrNElNiKkPPt1-0e2aWZSFUKn_eq0e9MjG6KSD2ov5P1OfMJJ5p63844u3n67dsoPG9f7mZZfUoqiehzkJ9xEY91nGUkQ07K01ikpbCG24s4GQpRJaRxx1dPdHKjoLxonr-P6yJRfUioJHuyKF7UMlcVC_Spsi03HHfv3AjWs_vK97JH2UEPH1yQLez_kvjPb6aBWVMdpYTySttn8pjPMieZSC8WVyP3IRRRpIUiqLIxr4au6ozGfZlW1btCdpWZ3OvodZDDddxOOmTAaMVNtihrWvVquY6ZK4HBVppgFLpptRFW-O1KTU2g2rLZkShFS7G-cL7t6WgbcpcjAn7U1d3VebNgD4eJgFgmE2wuGBgASDgWQBYb8KUM5GPOd54M3-_uPF9v6rP2dbvJfIhTVFo5V3k-FWUHftjGP6A1Wc5pGndKGD-4V_-ZnzC_G5AdBRkLuNMyY_STYE2lCng_scwjvs4MN44S5vvZ-Y17qbCRcBlcjynobC0CLjsKh5bvm70Cy0LuBx9iAIuRyt-BwAA__9aGNhP">