[PATCH] D90835: [RFC][clang-tidy] Ignore diagnostics due to macro expansion from not-interested headers

Dmitry Polukhin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 12 03:31:49 PDT 2021


DmitryPolukhin added a comment.

I think there is no sense to invent another HeaderFilterRegex like option to control which headers should be excluded. HeaderFilterRegex should be good enough because if you would like to see warning from the header, most probably you can fix code in the header or at least add a suppression.

To be on a safe side I'm going to put this feature behind a configuration flag and send diff for review soon.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90835/new/

https://reviews.llvm.org/D90835



More information about the cfe-commits mailing list