[clang] [clang]: reflection operator parsing for global namespace and primitive types (PR #164692)

Daniel M. Katz via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 22 14:07:05 PDT 2025


================
@@ -4945,6 +4945,12 @@ void CXXNameMangler::mangleExpression(const Expr *E, unsigned Arity,
     E = cast<ConstantExpr>(E)->getSubExpr();
     goto recurse;
 
+  case Expr::CXXReflectExprClass: {
+    // TODO: implement this after introducing std::meta::info
----------------
katzdm wrote:

@cor3ntin Not sure if you typically do this in LLVM, but would it make sense to tag anything reflection-y with `TODO(reflection): Lorum ipsum dolum` for easier auditing?

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


More information about the cfe-commits mailing list