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

via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 4 08:29:54 PDT 2026


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

Hmm, that’s true, but I don’t think this needs to be a separate evaluator because I don’t think any of those expressions need special handling if they yield values of type `std::meta::info` (except splices, but that can also just be just another function)

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


More information about the cfe-commits mailing list