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

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 4 21:46:26 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:

Here's a diff including a quick implementation for the bytecode interpreter: https://gist.github.com/tbaederr/7f96a6c63a779d9ba39b0d09483f1ba2

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


More information about the cfe-commits mailing list