<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/117575>117575</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-tidy] Extend readability-simplify-boolean-expr to multiple variables
</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>
~~~c++
bool g(bool a, bool b, bool c) {
if (a && b)
return c;
return false; // return a && b && c;
}
~~~
https://godbolt.org/z/eKon65x4q
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUs2umzwQfZphYxHBgGNYeJH73Y9Nn2L8A7hycGqbKOmCZ6-gSW9Vy5KPxufMaOYMpeSmxVoJ_AP4Z0FrnkOUeo56juXk8ryqQgXzlNu2acCP_VYXFYJnE2B3AAL8jx1I_UEasGcgdjJjjLmRAXbEAM-A553Xv372E21e48I0NG_-KzKSTxaaDwY4AA7v8FeeN3hJQXxCddm2DarLnPMtQXP5LZ2CUcHnU4gT4PATcLDfwnLmj_ZHYWRj-qanwspaNMg5diiKWbZaaGVI1LXhxE3bWTtWnSFVNziqcSycxArbukZen9sKxYm6nrquId0JQb0gaCt7JedP3t-ve-3CpbRaWdeCC154UtanY_aI2tMyldmZJyDuXkS5q0q1TgnayruU01ee7LI_XPtLxj_Z_49sF8OiJUPKeZefZXLXm3fjs9x9sbSU9nGLLAd2XX12N2_ZnaIj5W0q1ujlP3M7VuCkwxVw2Ku_nvIWw3erM-BwtJQAh1dXd4m_AgAA__9KXrfz">