[libc-commits] [libc] [libc] Add regex AST and ExprPool (PR #198728)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Thu Jun 18 22:22:36 PDT 2026


================
@@ -0,0 +1,82 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// AST nodes for Regular Expressions (Class Definitions).
+///
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC___SUPPORT_REGEX_REGEX_AST_H
+#define LLVM_LIBC_SRC___SUPPORT_REGEX_REGEX_AST_H
+
+#include "src/__support/macros/config.h"
+
+namespace LIBC_NAMESPACE_DECL {
----------------
vonosmas wrote:

Do you think nested namespace `regex` would be helpful? Otherwise classes like `Expr` may easily conflict w/ something else.

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


More information about the libc-commits mailing list