[clang] [Clang] Instantiate constexpr function when they are needed. (PR #173537)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 9 08:36:07 PST 2026
================
@@ -161,6 +162,10 @@ void clang::ParseAST(Sema &S, bool PrintStats, bool SkipFunctionBodies) {
return M;
});
P.Initialize();
+
+ llvm::scope_exit _([&S]() { S.unregisterSemaProxy(); });
+ S.registerSemaProxy();
----------------
cor3ntin wrote:
Done
https://github.com/llvm/llvm-project/pull/173537
More information about the cfe-commits
mailing list