[all-commits] [llvm/llvm-project] 97e544: [ADT] Use C++17 fold expression in PointerSumType ...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Sep 18 08:56:21 PDT 2025


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

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

  Log Message:
  -----------
  [ADT] Use C++17 fold expression in PointerSumType (NFC) (#159560)

This patch simplifes the recursive Checker template with a C++17 fold
expression and "inlines" it right into the `static_assert`.



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