[clang] [Clang] Add TimeTraceScopes to DeduceTemplateArguments (PR #218112)

Nikolas Klauser via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 01:16:07 PDT 2026


================
@@ -406,18 +407,49 @@ ExecuteCompiler
 | | ParseFunctionDefinition (fooA)
 | | ParseDeclarationOrFunctionDefinition (test.cc:3:5)
 | | | ParseFunctionDefinition (user)
+| | | | DeduceTemplateArguments (./a.h:7:10)
 | | | | DeferInstantiation (fooA<int>)
 | PerformPendingInstantiations
 | | InstantiateFunction (fooA<int>, a.h:7)
+| | | DeduceTemplateArguments (./b.h:8:17)
----------------
philnik777 wrote:

Right, I _could_ copy-paste a relatively complex implementation where it's not at all clear (at least to me) whether we actually want that behaviour to avoid a difference in a test. IMO making the implementation 10x longer _just so the testing is a bit more convenient_ is the wrong choice however.

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


More information about the cfe-commits mailing list