[all-commits] [llvm/llvm-project] 4e9864: [ADT] Use SmallPtrSet or SmallSet flexibly (NFC) (...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Aug 21 15:03:46 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e98641451e19f71d596bf46027722c1dcf0bc77
https://github.com/llvm/llvm-project/commit/4e98641451e19f71d596bf46027722c1dcf0bc77
Author: Kazu Hirata <kazu at google.com>
Date: 2025-08-21 (Thu, 21 Aug 2025)
Changed paths:
M llvm/unittests/ADT/DenseMapTest.cpp
Log Message:
-----------
[ADT] Use SmallPtrSet or SmallSet flexibly (NFC) (#154680)
I'm trying to remove the redirection in SmallSet.h:
template <typename PointeeType, unsigned N>
class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N>
{};
to make it clear that we are using SmallPtrSet. There are only
handful places that rely on this redirection.
Now, this unit test is unique in that supply multiple key types via
TYPED_TESTS.
This patch adds UniversalSmallSet to work around the problem.
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