================
@@ -10636,6 +10889,113 @@ QualType 
Sema::DeduceTemplateSpecializationFromInitializer(
   // clear on this, but they're not found by name so access does not apply.
   Guides.suppressDiagnostics();
 
+  SmallVector<DeclAccessPair> GuidesCandidates;
+  if (AliasTemplate) {
----------------
hokein wrote:

Yes, and this is not the proper place to construct deduction guides for alias 
templates (they should live in `DeclareImplicitDeductionGuides`).

https://github.com/llvm/llvm-project/pull/77890
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to