[PATCH] D144828: [clang-tidy] Add misc-header-include-cycle check
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 15 05:37:17 PDT 2023
njames93 accepted this revision.
njames93 added a comment.
This revision is now accepted and ready to land.
LGTM: Just one small nit.
================
Comment at: clang-tools-extra/clang-tidy/misc/HeaderIncludeCycleCheck.cpp:148-150
+ return std::any_of(
+ IgnoredFilesRegexes.begin(), IgnoredFilesRegexes.end(),
+ [&](const llvm::Regex &It) { return It.match(FileName); });
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144828/new/
https://reviews.llvm.org/D144828
More information about the cfe-commits
mailing list