[clang-tools-extra] [clang-tidy] Add IgnoredRegex to 'bugprone-suspicious-include' (PR #160958)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 27 15:59:32 PDT 2025
=?utf-8?q?Bj=C3=B6rn_Sch=C3=A4pers?= <bjoern at hazardy.de>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/160958 at github.com>
================
@@ -14,3 +14,12 @@ Examples:
#include "Pterodactyl.h" // OK, .h files tend not to have definitions.
#include "Velociraptor.cpp" // Warning, filename is suspicious.
#include_next <stdio.c> // Warning, filename is suspicious.
+
+Options
+-------
+
+.. option:: IgnoredRegex
+
+ A regular expression for the file name to be ignored by the check. Default
+ is no regular expression.
----------------
EugeneZelenko wrote:
```suggestion
is empty string.
```
https://github.com/llvm/llvm-project/pull/160958
More information about the cfe-commits
mailing list