[clang] [Clang][Sema] Refactor collection of multi-level template argument lists (PR #106585)

Krystian Stasiowski via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 30 06:33:10 PDT 2024


================
@@ -317,7 +317,8 @@ struct ConvertConstructorToDeductionGuideTransform {
     }
 
     if (NestedPattern)
-      OuterInstantiationArgs = SemaRef.getTemplateInstantiationArgs(Template);
+      OuterInstantiationArgs = SemaRef.getTemplateInstantiationArgs(
+          /*D=*/nullptr, Template->getDeclContext());
----------------
sdkrystian wrote:

This is an artifact from when I was figuring out the implementation... I'll revert this change.

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


More information about the cfe-commits mailing list