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

    <tr>
        <th>Summary</th>
        <td>
            run-clang-tidy excessive output
        </td>
    </tr>

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

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

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

<pre>
    When I run `run-clang-tidy` on my repo, I get lots and lots of lines of output. For each translation unit being analyzed, I get something like:

```
// ...
Suppressed 37383 warnings (37321 in non-user code, 62 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
clang-tidy ... some_file.cpp
19527 warnings generated.
// ...
```

When I have some translation unit that _does_ fail a check, it is buried beneath this all. For example, in a not-particularly-large repo I'm trying to run clang-tidy on, the `run-clang-tidy` script gives me roughly 360 lines of output, even on success. On one run in question, it does point out a failure on one check, but that failure was on line 210. 

It would be really nice if on success, there was zero output, and on failure, the only output was (in this case):
```
$ run-clang-tidy some options here
/path/to/offending/file.cpp:123:45: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
T* ptr = 0;
         ^
 nullptr
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0VE2PozgQ_TXOpQQCOyThwKF7eiO1tJo57Kz22DJQgHeMzbrsZOhfvzKQTnfvbBQZf9WrqlevLIlUbxArVjyy4mkngx-sq2qHl1dldrVt5-qvAQ08gwsG2CFzwSSNlqZPvGpndsjAGhhncDhZxr_AM_ToQVtPIE27TmwHWhlcJjb4KfgUztYBymYA76QhLb2yBoJRHmpUpgdppJ5fsb1jkh3RD_FMqx_IxAPLnlh2Gw_Z9l-X_Mz4GdI0Xdd_hGlySIQtiKM4CbhKZ5TpCRg_iaPgOSgDxpokEDpobIvR8YHD12-_P3_9zni5If1JCMmAskWXdEp7dEw8pYw_gLfQKpq0nA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