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

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 13 15:46:46 PDT 2026


================
@@ -10936,6 +10939,46 @@ bool PointerExprEvaluator::VisitCXXNewExpr(const CXXNewExpr *E) {
 
   return true;
 }
+
+//===----------------------------------------------------------------------===//
+// Reflection expression evaluation
+//===----------------------------------------------------------------------===//
+
+namespace {
+class ReflectionEvaluator
----------------
Sirraide wrote:

Actually, I guess special handling for CallExprs might make sense specifically for some of the functions in `std::meta` depending on how we want to handle those (GCC treats them as builtins)...  Yeah, I suppose we can always refactor it later if this turns out to be too much, so if you think it makes sense to keep it then we can leave it as-is. 

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


More information about the cfe-commits mailing list