[clang-tools-extra] added option `llvm-header-guard.HeaderDirs` (PR #176940)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 08:12:58 PST 2026
================
@@ -113,6 +113,14 @@ Changes in existing checks
<clang-tidy/checks/performance/move-const-arg>` check by avoiding false
positives on trivially copyable types with a non-public copy constructor.
+- Improved :doc:`llvm-header-guard
+ <clang-tidy/checks/llvm/header-guard>` check by adding the option
+ `HeaderDirs` which is a list of one or more include directory names.
+ Defaults to `include`. When checking header guards, the header file path is
----------------
EugeneZelenko wrote:
One sentence is enough.
https://github.com/llvm/llvm-project/pull/176940
More information about the cfe-commits
mailing list