<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/91561>91561</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`readability-else-after-return`/`llvm-else-after-return` warn on else after `if consteval`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
bug,
good first issue,
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
cjdb
</td>
</tr>
</table>
<pre>
The following yields the aforementioned warnings, but they shouldn't.
```cpp
constexpr int f()
{
if consteval {
return 0;
}
else {
return 1;
}
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskU9u8yAQxU8z3iBHMMb_FizaRjnBdwFsxjYVgQhw--X2le20zaKSJY_e--kBb3RKdvZECupXqM-FXvMSohrfzVAMwdzVv4XYFJwLn9bP7G7JmcTyQkxPIdKVfLbBk2GfOnrr5wT4xoY1b8idpSWsznjANp-An4G_QMOPb7zdDmUMPmX6f4vM-swmwA6wf8Dt6zEwZid2gB_asSedsUh5jZ5xqH5EaM_fI7lET_wDFn_Bv8P3HQujKtNXvS5IiVbUWMmqk8WisNGyG7tJjF2nheybURsh2qmScmirRhZWIUfJa97zuu6lPKGoN6MWaMzIJwmS01Vbd3Lu43oKcS5sSiupXtSNKJweyKV9J4jDOgMi4BsgziEYNtmYMtv5H2N02s9ltua-SfW5iGpLLod1TiC5symn37OyzY4UNDySNnqwzuZ7uVVV6ilTLI-athLwAg3fk_6y962z4I-ad5NBw5-XtdW4RqeWnG8JqpctES-zzcs6nMZwBbxs8Y9feYvhncYMeNnflwAveyVfAQAA___nSM3J">