[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:42 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.
+
+ This check finds and fixes header guards.
----------------
zeyi2 wrote:
```suggestion
Finds and fixes header guards.
```
https://github.com/llvm/llvm-project/pull/177315
More information about the cfe-commits
mailing list