[all-commits] [llvm/llvm-project] b22a97: [Support] Merge two implementations of addRangeEle...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Sep 12 07:52:10 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/Support/HashBuilder.h

  Log Message:
  -----------
  [Support] Merge two implementations of addRangeElementsImpl (NFC) (#158212)

This patch uses "constexpr if" to merge two implementations of
addRangeElementsImpl.  While the line count does not change much, the
"if" condition should be a lot more readable than in std::enable_if.



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