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

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 28 19:16:02 PDT 2025


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

```suggestion
    [[fallthrough]];
```
We should error that we can’t mangle this yet until we implement support for it

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


More information about the cfe-commits mailing list