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

Thorsten Klein via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 5 08:57:57 PST 2026


================
@@ -134,6 +134,11 @@ New checks
   Checks for presence or absence of trailing commas in enum definitions and
   initializer lists.
 
+- New :doc:`misc-header-guard <clang-tidy/checks/misc/header-guard>` check.
----------------
thorsten-klein wrote:

I have run this check locally and I had to place it there. I was wondering about this as well. I will try again.

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


More information about the cfe-commits mailing list