| Issue | 124483 |
|---|---|
| Summary | clang-tidy: more patterns for `readability-use-std-min-max` |
| Labels | clang-tidy |
| Assignees | |
| Reporter | mathstuf |
The following patterns should also be detected:```c++ if (a >= k) a = k - 1; // a = std::min(a, k - 1); if (a + c > k) a = k - c; // a = std::min(a, k - c); ```
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
