[all-commits] [llvm/llvm-project] f3a55a: [llvm] Remove std::clamp equivalent in `Transforms...

Joseph Loser via All-commits all-commits at lists.llvm.org
Thu Aug 18 14:12:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3a55a1ddfe3ba2ae08d49a98405dadf44ebfd37
      https://github.com/llvm/llvm-project/commit/f3a55a1ddfe3ba2ae08d49a98405dadf44ebfd37
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/MisExpect.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list