[clang] [clang]: support std::meta::info for primitive types (PR #190356)

via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 4 08:07:00 PDT 2026


================
@@ -314,13 +316,16 @@ class APValue {
     const AddrLabelExpr* LHSExpr;
     const AddrLabelExpr* RHSExpr;
   };
+  struct ReflectionData {
+    const ReflectionKind OperandKind;
----------------
Sirraide wrote:

```suggestion
    ReflectionKind OperandKind;
```
APValues are move-assignable/copy-assignable so I don’t think having `const` members is a good idea

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


More information about the cfe-commits mailing list