I would like to exclude third party header files from being checked by clang-tidy
.
From what I can tell, using a negative regular expression for header file exclusion is never going to happen: https://reviews.llvm.org/D34654
Slapping // NOLINT
on a header file inclusion. This does not work:
#include "third_party.h" // NOLINT
From what I can tell, there is no line-range option that can be used to say "Ignore all lines in this file" (please correct me if I am wrong).
What is the simplest method for excluding third party header files from being analyzed by clang-tidy
?