[clang] [Clang] Instantiate constexpr function when they are needed. (PR #173537)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 06:12:48 PST 2026


================
@@ -1409,6 +1422,10 @@ class ASTContext : public RefCountedBase<ASTContext> {
   /// with this AST context, if any.
   ASTMutationListener *getASTMutationListener() const { return Listener; }
 
+  SemaProxy *getSemaProxy();
+
+  void setSemaProxy(std::unique_ptr<SemaProxy> Proxy);
+
----------------
cor3ntin wrote:

Agreed.

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


More information about the cfe-commits mailing list