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

Bhuminjay Soni via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 23:44:06 PST 2024


11happy wrote:

**Updates of Recent Commit:**
- Incorporated all the naming and formatting suggestions by @5chmidti 
- Thanks @felix642 for such a great insight on testcases, actually those two you suggested were actually getting flagged when they shouldn't ,added changes so that they don't get flagged.
- Added a check which currently dont flag anything related to MACRO functions
- Incorporated suggestions by @PiotrZSL 
Thank you

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


More information about the cfe-commits mailing list