[llvm] Remove std::clamp equivalent in `Transforms/Utils/MisExpect.cpp`
authorJoe Loser <joeloser93@gmail.com>
Mon, 15 Aug 2022 03:14:18 +0000 (21:14 -0600)
committerJoe Loser <joeloser93@gmail.com>
Thu, 18 Aug 2022 21:11:25 +0000 (15:11 -0600)
commitf3a55a1ddfe3ba2ae08d49a98405dadf44ebfd37
treee298e3188cf0fd4070d682901f7ca2727d95b4f9
parent341c7c05df87394ac23842a0c27889b11a625058
[llvm] Remove std::clamp equivalent in `Transforms/Utils/MisExpect.cpp`

Use `std::clamp` directly from the standard library now that LLVM is built with
C++17 standards mode.

Differential Revision: https://reviews.llvm.org/D131869
llvm/lib/Transforms/Utils/MisExpect.cpp