================ @@ -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 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
