[clang] [clang] Implement CTAD for type alias template. (PR #77890)
    via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Jan 29 08:40:07 PST 2024
    
    
  
================
@@ -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) {
----------------
yronglin wrote:
I was wondering if  we need to separate the code that tweaks the candidate set into another function.
https://github.com/llvm/llvm-project/pull/77890
    
    
More information about the cfe-commits
mailing list