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

    <tr>
        <th>Summary</th>
        <td>
            [feat] clang-tidy could accept multiple source files in one invocation
        </td>
    </tr>

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

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

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

<pre>
    We are integrating clang-tidy into the bazel build system, and for consistency with other linters we would like clang-tidy to accept multiple source files on the command line, and process them in sequence returning a composite set of results. The single set of clang-tidy and compilation options should apply to alll source files, and the caller should ensure that the set of source files passed in are all consistent in this regard.

This would give clang-tidy a similar usage paradigm to pmd, eslint, ktlint, vale, buf, flake8, shellcheck

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8U8Fu8zYMfhr7QjSwVTtxDj78W5EnKLAzLdO2FlryRCpF9vSDnGZtL_9FJEiQ3_eRFIq42RP1RftH0b6VmHQJsd8Ir2KX6KQcwnjv_yLASOC80hxRnZ_BMvr5Rd14z-EAuhAM-C8xDMnxCHIXpbUwfwL6EaYQwQYvTpS8vcOH0wWCLhSBc9co8EHwERKPwO5K39trALSWNoU1sbqNCSSkaAkmxyQQ_A5uw7pmKHaenrBbDJZEcn4F50Hon0TeEkTSFH3WgblwC-KUQEghTBBJEqsc4H0hEOdn_j_1jVbun0sdo7rgIWzZCMiyq8Bt4wd3Zv5B-EluJ43MFJ815CVFAl1Q9-wn6A-1G4rQmMXkjSDz11w1R3VxApFmjOOhqN6K6tfjfc_xx4Bnd_sxYARxq2OMkARngg0jjm5eM_ttHTNfkrym7F316d2Q90EPacpmYrxSlz1ZiNkuZK8P6HLsX8fz6xlL6utT3bXH9tx05dI33amukGzVnSeLQ3dq7GjM8TR09YjD0JWuN5VpqmN9rM-mbboDVdPxZKumm6a6bY5t0VS0ouMD8209hDiXTiRRf25P9alkHIhlv21jvgQXxuRbj30uehnSLEVTsROVrzbqlPdfMRFq0b59n5d9LPh3N-k8BJ8_zC3Y_TzKFLlfVDcpXn8V5lKYy-x0ScPBhrUwlwz8aV62GP4mq4W57GKkMJeHnltv_gsAAP__uYNHRg">