[clang-tools-extra] clang tidy: add header ignore option to include duplicate files (PR #167046)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 8 12:55:13 PST 2025


================
@@ -33,3 +33,21 @@ Because of the intervening macro definitions, this code remains unchanged:
   #define NDEBUG
   #include "assertion.h"
   // ...code with assertions disabled
+
+Option: ``AllowedDuplicateIncludes``
+------------------------------------
+
+Headers listed in this option are exempt from warnings. For example:
----------------
vbvictor wrote:

Add default value

https://github.com/llvm/llvm-project/pull/167046


More information about the cfe-commits mailing list