[PATCH] D26418: [clang-tidy] Add '-suppress-checks-filter' option to suppress diagnostics from certain files

Malcolm Parsons via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 9 01:54:43 PST 2016


malcolm.parsons added a comment.

In https://reviews.llvm.org/D26418#590383, @nkakuev wrote:

> The warning is caused by a third-party code, but header filter won't help you to suppress it since it now relates to your sources.


The header filter suppresses the warning location, but the note locations are in the main file so they unsuppress the warning.

It sounds like you want note locations to be ignored.


https://reviews.llvm.org/D26418





More information about the cfe-commits mailing list