[clang-tools-extra] [clang-tidy] add check to suggest replacement of nested std::min or std::max with initializer lists (PR #85572)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 22 20:50:56 PDT 2024
================
@@ -47,7 +47,7 @@ class MinMaxUseInitializerListCheck : public ClangTidyCheck {
private:
bool IgnoreNonTrivialTypes;
- unsigned long IgnoreTrivialTypesOfSizeAbove;
+ long IgnoreTrivialTypesOfSizeAbove;
----------------
PiotrZSL wrote:
why change into signed ? Unsigned were better.
https://github.com/llvm/llvm-project/pull/85572
More information about the cfe-commits
mailing list