[all-commits] [llvm/llvm-project] 699574: [ADT] Consolidate CallbacksHolder (NFC) (#160234)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Tue Sep 23 08:11:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 699574205f2dee911753f0ef690e163239bc1872
https://github.com/llvm/llvm-project/commit/699574205f2dee911753f0ef690e163239bc1872
Author: Kazu Hirata <kazu at google.com>
Date: 2025-09-23 (Tue, 23 Sep 2025)
Changed paths:
M llvm/include/llvm/ADT/FunctionExtras.h
Log Message:
-----------
[ADT] Consolidate CallbacksHolder (NFC) (#160234)
This patch consolidates the two implementations of CallbacksHolder
with "if constexpr". The immediately evaluated lambda expression
works as a type selector as well as initializers. This way, we can
migrate away from the SFINAE trick.
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