[clang] [clang][Sema] Add instant event when template instantiation is deferred. (PR #111524)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 02:00:55 PDT 2024


================
@@ -18146,6 +18148,16 @@ void Sema::MarkFunctionReferenced(SourceLocation Loc, FunctionDecl *Func,
                 std::make_pair(Func, PointOfInstantiation));
             // Notify the consumer that a function was implicitly instantiated.
             Consumer.HandleCXXImplicitFunctionInstantiation(Func);
+
+            if (llvm::isTimeTraceVerbose()) {
----------------
ivanaivanovska wrote:

Done.

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


More information about the cfe-commits mailing list