[clang] [Clang] Fix various bugs in alias CTAD transform (PR #132061)

via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 22 04:57:56 PDT 2025


================
@@ -1072,12 +1072,27 @@ BuildDeductionGuideForTypeAlias(Sema &SemaRef,
       AliasRhsTemplateArgs, TDeduceInfo, DeduceResults,
       /*NumberOfArgumentsMustMatch=*/false);
 
+  static std::function<bool(const TemplateArgument &TA)> IsNonDeducedArgument =
----------------
cor3ntin wrote:

I  meant a function in the file, not a std::function! (that would be...inefficient haha)

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


More information about the cfe-commits mailing list