[all-commits] [llvm/llvm-project] 595323: [ADT] Simplify IsSizeLessThanThreshold (NFC) (#160...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Sep 25 08:51:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5953233edeb8af419b67116cefbeee8b15940cb9
      https://github.com/llvm/llvm-project/commit/5953233edeb8af419b67116cefbeee8b15940cb9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M llvm/include/llvm/ADT/FunctionExtras.h

  Log Message:
  -----------
  [ADT] Simplify IsSizeLessThanThreshold (NFC) (#160642)

IsSizeLessThanThreshold is used only in AdjustedParamTBase, just a few
lines below the declaration.  This patch simplifies
IsSizeLessThanThreshold by substituting U with T, stripping away the
template, and switching to "static constexpr bool.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list