[clang] [Clang] Substitute for the type aliases inside of a CTAD guide (PR #94740)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 11 04:08:05 PDT 2024


================
@@ -2630,7 +2711,8 @@ struct ConvertConstructorToDeductionGuideTransform {
 
   ParmVarDecl *transformFunctionTypeParam(
       ParmVarDecl *OldParam, MultiLevelTemplateArgumentList &Args,
-      llvm::SmallVectorImpl<TypedefNameDecl *> &MaterializedTypedefs) {
+      llvm::SmallVectorImpl<TypedefNameDecl *> &MaterializedTypedefs,
+      bool TransformingOuterPatterns = false) {
----------------
hokein wrote:

nit: remove this default argument for `TransformingOuterPatterns`, there is only 2 places calling this function (one for `true`, the other one for `false`)

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


More information about the cfe-commits mailing list