[llvm] DenseMap: support enum class keys (PR #95972)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 12:23:01 PDT 2024


================
@@ -267,6 +267,30 @@ TEST(MapVectorTest, NonCopyable) {
   ASSERT_EQ(*MV.find(2)->second, 2);
 }
 
+TEST(MapVectorTest, EnumClassKey) {
----------------
nikic wrote:

I see a DenseMapTest.cpp here: https://github.com/llvm/llvm-project/blob/main/llvm/unittests/ADT/DenseMapTest.cpp

https://github.com/llvm/llvm-project/pull/95972


More information about the llvm-commits mailing list