forked from OSchip/llvm-project
da55af7f1d
For some reason the initial implementation of the check had an explicit check for the main file to avoid being applied in headers. This diff removes this check and add a test for the check on a header. Similar approach was proposed in D61989 but review there got stuck. Test Plan: added new test case Differential Revision: https://reviews.llvm.org/D97563 |
||
---|---|---|
.. | ||
Headers | ||
absl | ||
altera-kernel-name-restriction | ||
bugprone-not-null-terminated-result | ||
bugprone-reserved-identifier | ||
gtest | ||
llvmlibc | ||
modernize-concat-nested-namespaces | ||
modernize-deprecated-headers | ||
modernize-loop-convert | ||
modernize-pass-by-value | ||
modernize-replace-auto-ptr | ||
modernize-smart-ptr | ||
modernize-use-auto | ||
modernize-use-using | ||
mpi-type-mismatch | ||
performance-unnecessary-value-param | ||
portability-restrict-system-includes | ||
readability-identifier-naming | ||
google-namespaces.h | ||
unused-using-decls.h |