[all-commits] [llvm/llvm-project] 647e48: [clang] Use std::clamp (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Oct 16 10:11:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 647e48cf5f6094ad874766c1471410641b1b86bd
      https://github.com/llvm/llvm-project/commit/647e48cf5f6094ad874766c1471410641b1b86bd
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-10-16 (Sun, 16 Oct 2022)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp

  Log Message:
  -----------
  [clang] Use std::clamp (NFC)

Note that the constructor of MipsABIInfo guarantees that
MinABIStackAlignInBytes <= StackAlignInBytes, so we can use std::clamp
safely.




More information about the All-commits mailing list