[clang-tools-extra] [clang-tidy] Add IgnoredRegex to 'bugprone-suspicious-include' (PR #160958)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 28 12:52:26 PDT 2025
================
@@ -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.
----------------
HazardyKnusperkeks wrote:
For the protocol: I still think this is wrong, but okay.
https://github.com/llvm/llvm-project/pull/160958
More information about the cfe-commits
mailing list