[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add fragment support to `misc-include-cleaner` (PR #196767)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun May 10 11:33:14 PDT 2026


================
@@ -403,6 +402,12 @@ Changes in existing checks
   - Fixed false positives when pointers were later passed or bound through
     ``const``-qualified pointer references.
 
+- Improved :doc:`misc-include-cleaner
+  <clang-tidy/checks/misc/include-cleaner>` check by adding the
+  ``FragmentHeaders`` option for fragment-aware usage scanning and the
+  ``FragmentDependencyCommentFormat`` option for annotating includes kept only
----------------
EugeneZelenko wrote:

```suggestion
  `FragmentHeaders` option for fragment-aware usage scanning and the
  `FragmentDependencyCommentFormat` option for annotating includes kept only
```

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


More information about the llvm-branch-commits mailing list