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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 9 06:55:27 PST 2026


================
@@ -7064,6 +7066,27 @@ static bool handleTrivialCopy(EvalInfo &Info, const ParmVarDecl *Param,
       CopyObjectRepresentation);
 }
 
+static void InstantiateFunctionBeforeCall(const FunctionDecl *FD,
----------------
erichkeane wrote:

There is perhaps a `try` that should be in the name of some sort.

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


More information about the cfe-commits mailing list