[llvm] [ADT] Add DenseSet(llvm::from_t, Range) (PR #131832)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 22 12:44:40 PDT 2025


================
@@ -33,6 +33,18 @@ TEST(DenseSetTest, DoubleEntrySetTest) {
   EXPECT_EQ(0u, set.count(2));
 }
 
+TEST(DenseSetTest, CtorRange) {
+  constexpr unsigned Args[] = {3, 1, 2};
----------------
kuhar wrote:

Should we also check for implicit conversions?

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


More information about the llvm-commits mailing list