[PATCH] D98709: [clang-tidy] New feature --skip-headers, part 1, LocFilter

2021-07-29 Thread Chih-Hung Hsieh via Phabricator via cfe-commits
chh added a comment. This is enhanced implementation over D98710 , to handle the new found failed test cases. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D98709/new/ https://reviews.llvm.org/D98709 ___

[PATCH] D98709: [clang-tidy] New feature --skip-headers, part 1, LocFilter

2021-07-29 Thread Chih-Hung Hsieh via Phabricator via cfe-commits
chh updated this revision to Diff 362702. chh added a comment. sync to the latest source; apply clang-format; add new skip-headers-4.cpp test; skip modernize-use-nullptr warnings in header files in UseNullptrCheck.cpp CHANGES SINCE LAST ACTION https://reviews.llvm.org/D98709/new/

[PATCH] D98709: [clang-tidy] New feature --skip-headers, part 1, LocFilter

2021-07-27 Thread Chih-Hung Hsieh via Phabricator via cfe-commits
chh updated this revision to Diff 362262. chh added a comment. apply clang-format CHANGES SINCE LAST ACTION https://reviews.llvm.org/D98709/new/ https://reviews.llvm.org/D98709 Files: clang-tools-extra/clang-tidy/ClangTidy.cpp clang-tools-extra/clang-tidy/ClangTidyCheck.cpp

[PATCH] D98709: [clang-tidy] New feature --skip-headers, part 1, LocFilter

2021-07-27 Thread Chih-Hung Hsieh via Phabricator via cfe-commits
chh updated this revision to Diff 362216. chh edited the summary of this revision. chh added a comment. - Use clang-format layout in ClangTidy.cpp and ClangTidyModule.h. - Fix misc-unused-using-decls false-positive warning from --skip-headers. - UnusedUsingDeclsCheck is now registered as an

[PATCH] D98709: [clang-tidy] New feature --skip-headers, part 1, LocFilter

2021-07-26 Thread Chih-Hung Hsieh via Phabricator via cfe-commits
chh updated this revision to Diff 361870. chh added a comment. add skip-headers-3.cpp test to show that checking only Decl locations is not enough to skip some warnings in header files CHANGES SINCE LAST ACTION https://reviews.llvm.org/D98709/new/ https://reviews.llvm.org/D98709 Files:

[PATCH] D98709: [clang-tidy] New feature --skip-headers, part 1, LocFilter

2021-07-23 Thread Chih-Hung Hsieh via Phabricator via cfe-commits
chh updated this revision to Diff 361295. chh retitled this revision from "[clang-tidy] New feature --skip-headers, part 1, skip Decls" to "[clang-tidy] New feature --skip-headers, part 1, LocFilter". chh edited the summary of this revision. chh added a comment. Add an AllFileFinder for checks