[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:48:03 PDT 2024
================
@@ -80,27 +80,26 @@ static SmallVector<FixItHint>
generateReplacements(const MatchFinder::MatchResult &Match,
const CallExpr *TopCall, const FindArgsResult &Result,
const bool IgnoreNonTrivialTypes,
- const unsigned long IgnoreTrivialTypesOfSizeAbove) {
+ const long IgnoreTrivialTypesOfSizeAbove) {
----------------
PiotrZSL wrote:
avoid using things like long/int. We got std::uint64_t, std::uint32_t for these things.
https://github.com/llvm/llvm-project/pull/85572
More information about the cfe-commits
mailing list