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

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


================
@@ -13102,7 +13102,10 @@ StmtResult TreeTransform<Derived>::TransformUnresolvedSYCLKernelCallStmt(
 template <typename Derived>
 ExprResult TreeTransform<Derived>::TransformCXXReflectExpr(CXXReflectExpr *E) {
   // TODO(reflection): Implement its transform
-  assert(false && "not implemented yet");
+  if (!E->isTypeDependent())
+    return E;
----------------
Sirraide wrote:

Though actually... we do that for statements/expressions, but I’m not sure reusing _types_ is valid, so to be safe we might want to just always rebuild it I think

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


More information about the cfe-commits mailing list