[clang] [Clang] Instantiate functions from constant evaluation. (PR #205557)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 29 00:58:16 PDT 2026


================
@@ -191,6 +194,8 @@ class Context final {
 
   /// Current compilation context.
   ASTContext &Ctx;
+  /// Current proxy to language semantics.
+  SemaProxy *Sema;
----------------
tbaederr wrote:

okay, now you need a new field for the sema proxy in `interp::EvalSettings` and the check for what interpreter is used should happen in the toplevel `Expr::Evaluate*` functions.

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


More information about the cfe-commits mailing list