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

If the question reduces to whether other kinds of expressions can compute a 
reflection during constant evaluation - then, yes: Function calls, 
id-expressions, splice-expressions, and `std::meta::info{}` can all compute a 
value of type `std::meta::info`.

https://github.com/llvm/llvm-project/pull/190356
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to