[clang-tools-extra] [clang-tidy] Add modernize-use-aggregate check (PR #182061)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 09:05:24 PST 2026


================
@@ -121,6 +121,13 @@ New checks
   ``llvm::to_vector(llvm::make_filter_range(...))`` that can be replaced with
   ``llvm::map_to_vector`` and ``llvm::filter_to_vector``.
 
+- New :doc:`modernize-use-aggregate
+  <clang-tidy/checks/modernize/use-aggregate>` check.
+
+  Finds classes that could be aggregates if their trivial forwarding
----------------
EugeneZelenko wrote:

Please synchronize with first statement in documentation.

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


More information about the cfe-commits mailing list