[llvm] [clang] [clang-tools-extra] Add clang-tidy check to suggest replacement of conditional statement with std::min/std::max (PR #77816)

FĂ©lix-Antoine Constantin via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 4 15:49:10 PST 2024


https://github.com/felix642 approved this pull request.

LGTM,

There is still some work to do to support more cases like ternary operators and if/else statements, but I think we have a decent foundation to work on and we can add these cases later in other PRs.

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


More information about the cfe-commits mailing list