[clang-tools-extra] [clang-tidy] Add modernize-use-size-type check (PR #182023)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 08:14:14 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-size-type
+  <clang-tidy/checks/modernize/use-size-type>` check.
+
+  Finds local variables declared as signed integer types initialized
----------------
EugeneZelenko wrote:

Please synchronize with first statement in documentation.

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


More information about the cfe-commits mailing list