[clang-tools-extra] [clang-tidy] Preserve typedef comments in `modernize-use-using` (PR #180372)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 21 11:21:58 PST 2026


================
@@ -205,7 +205,8 @@ Changes in existing checks
 
 - Improved :doc:`modernize-use-using
   <clang-tidy/checks/modernize/use-using>` check by avoiding the generation
-  of invalid code for function types with redundant parentheses.
+  of invalid code for function types with redundant parentheses and preserving
+  inline comment blocks that appear between the typedef's parts.
----------------
vbvictor wrote:

```suggestion
  inline comment blocks that appear between the ``typedef``'s parts.
```

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


More information about the cfe-commits mailing list