================ @@ -0,0 +1,38 @@ +.. title:: clang-tidy - modernize-use-size-type + +modernize-use-size-type +======================= + +Finds local variables declared as signed integer types that are +initialized from an unsigned/``size_t`` source (e.g. +``container.size()``) and only used in contexts expecting unsigned +types, and suggests changing the type to ``size_t``. ---------------- EugeneZelenko wrote:
```suggestion Finds local variables declared as signed integer types that are initialized from an unsigned/``size_t`` source (e.g. ``container.size()``) and only used in contexts expecting unsigned types, and suggests changing the type to ``size_t``. ``` Fill 80-characters limit. Same for rest of documentation and Release Notes entry. https://github.com/llvm/llvm-project/pull/182023 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
