[all-commits] [llvm/llvm-project] 3f26f1: [ADT] Reduce boilerplate in DenseSet (NFC) (#158456)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Sep 14 11:03:17 PDT 2025


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

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

  Log Message:
  -----------
  [ADT] Reduce boilerplate in DenseSet (NFC) (#158456)

The class definitions of DenseSet and SmallDenseSet contain a lot of
boilerplate code, repeating the lengthy base class name twice in each
definition.

This patch simplifies the two definitions by making them type aliases.



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