[llvm] DenseMap: support enum class keys (PR #95972)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 18 12:21:39 PDT 2024
================
@@ -267,6 +267,30 @@ TEST(MapVectorTest, NonCopyable) {
ASSERT_EQ(*MV.find(2)->second, 2);
}
+TEST(MapVectorTest, EnumClassKey) {
----------------
artagnon wrote:
There's no DenseMapTest.cpp. Perhaps just use DenseMap directly in MapVectorTest.cpp?
https://github.com/llvm/llvm-project/pull/95972
More information about the llvm-commits
mailing list