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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] Error about unmatched NOLINTBEGIN/END does not show up when there are no other warnings
        </td>
    </tr>

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

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

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

<pre>
    Example:

https://godbolt.org/z/zYjbEn8zc

The error only shows up if there are clang-tidy warnings. The error should show up always.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckUGL4yAYhn-NucgE_ZK0ycHDDm2WgaV7mcseP6ONDkaDmnbbX78klGnZg4rCI9_7vJiSHb3WgjTvpDkUuGQTohgwupBGdBd9nwsZ1E0c_-I0O02qH4QdCHvsJuc5rW_QE-jHoGRwuQxxJNDf1_XnSx59ex9eoU-jqY4xRBq8u9FkwjXRZab2TLPRUVOMmg4O_fiWrbrRK0Zv_ZhK-iSTCYtTG7ui6K54S2WhRKW6qsNCC76H_a5mwOvCCH7mw36ndnzHa8Vb3qh2D-emwUECVi0UVgCDmnXQAWNVVZdNg3Jo6x1iJ88da0nN9ITWlc5dpjVhYVNatOCc1VVbOJTapU0jwHN2ArBqjWKl3uQyJlIzZ1NOz3-yzW4r4AVrDvS45UQZlkwXP2EejFb09PvXx-nz_fjz40SgP54OVAWdqA_528XVaP8i0gca1tu3xmKJTvxXnM1mkeUQJgL9OtjjeJtj-NJDJtBvaROB_hH4IuBfAAAA___Sw7mV">