================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to