[clang] [clang]: support std::meta::info for primitive types (PR #190356)
Daniel M. Katz via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 4 09:15:49 PDT 2026
================
@@ -701,6 +716,16 @@ class APValue {
return ((const AddrLabelDiffData *)(const char *)&Data)->RHSExpr;
}
+ const ReflectionKind getReflectionOperandKind() const {
+ assert(isReflection() && "Invalid accessor");
+ return ((const ReflectionData *)(const char *)&Data)->OperandKind;
+ }
+
+ const void* getOpaqueReflectionOperand() const {
----------------
katzdm wrote:
Ah, fair point.
https://github.com/llvm/llvm-project/pull/190356
More information about the cfe-commits
mailing list