[libc-commits] [libc] [libc][regex] Add 256-bit ByteSet and '.' wildcard (PR #233561)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Mon Oct 19 15:24:54 PDT 2026


================
@@ -24,54 +26,90 @@ using LIBC_NAMESPACE::regex::INVALID_EXPR_ID;
 TEST(LlvmLibcRegexExprTest, Interning) {
   ExprPool pool;
   EXPECT_EQ(sizeof(Expr), size_t(16));
+  EXPECT_EQ(sizeof(ByteSet), size_t(32));
----------------
michaelrj-google wrote:

it seems like the test won't work if this isn't true, so it should probably be an ASSERT not an EXPECT.

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


More information about the libc-commits mailing list