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

via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 21 23:53:41 PST 2026


================
@@ -103,6 +103,14 @@ New checks
   Finds and removes redundant conversions from ``std::[w|u8|u16|u32]string_view`` to
   ``std::[...]string`` in call expressions expecting ``std::[...]string_view``.
 
+- New :doc:misc-header-guard <clang-tidy/checks/misc/header-guard> check.
----------------
zeyi2 wrote:

```suggestion
- New :doc:`misc-header-guard
  <clang-tidy/checks/misc/header-guard>` check.
```

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


More information about the cfe-commits mailing list