[PATCH] D26418: [clang-tidy] Add '-suppress-checks-filter' option to suppress diagnostics from certain files
P F via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 30 18:04:22 PST 2018
> On Jan 30, 2018, at 7:50 AM, Andrew Peter Marlow via Phabricator via cfe-commits <cfe-commits at lists.llvm.org> wrote:
>
> marlowa added a comment.
>
> In https://reviews.llvm.org/D26418#653146, @nkakuev wrote:
>
>> Ping.
>
>
> another ping. I am desperate for this enhancement and am really glad that nkakuev has done all the hard development work. I am currently being nobbled in my use of clang-tidy because the project is using Rogue Wave Stingray headers and BCG Control bar headers. Both these components cause loads of clang-tidy issues when the headers get included. This enhancement seems to provide just the mechanism I need.
You can already filter headers the same way you filter warnings by using `-isystem` flags.
More information about the cfe-commits
mailing list