[clang] [clang]: support std::meta::info for primitive types (PR #190356)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 22:38:34 PDT 2026
================
@@ -2472,6 +2470,8 @@ static bool CheckEvaluationResult(CheckEvaluationResultKind CERK,
Value.getUnionValue(), Kind, Value.getUnionField(), CheckedTemps);
}
if (Value.isStruct()) {
+ if (Type->isMetaInfoType())
----------------
tbaederr wrote:
Since these reflection values are produced during an evaluation (and not just the end result of one), this requires adding a new `PrimType`. Since that's more complicated than just adding a new `APValue` kind, I think it's fine to leave out support for the bytecode interpreter for now. We do want to add support for it soon enough of course, but it requires more design considerations.
https://github.com/llvm/llvm-project/pull/190356
More information about the cfe-commits
mailing list