[clang] [clang][Sema] Add instant event when template instantiation is deferred. (PR #111524)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 05:54:19 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()) {
----------------
usx95 wrote:
nit: move this closer to the `push_back` since they are related
https://github.com/llvm/llvm-project/pull/111524
More information about the cfe-commits
mailing list