[clang-tools-extra] [llvm] New check `misc-header-guard` (PR #177315)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 31 08:38:26 PST 2026


================
@@ -0,0 +1,90 @@
+.. title:: clang-tidy - llvm-header-guard
+
+misc-header-guard
+=================
+
+Finds and fixes header guards.
----------------
vbvictor wrote:

What do you mean by `fixes`? Can we elaborate here a bit how it fixes and what corrections are made.

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


More information about the cfe-commits mailing list