Skip to content

Commit a417b9b

Browse files
authored
[lldb] Fix call to TemplateTemplateParmDecl::Create after #88139 (#88417)
#88139 adds a parameter to `TemplateTemplateParmDecl::Create`, which is called in LLDB. This adds the missing argument for that parameter.
1 parent f6749d8 commit a417b9b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,10 +1682,11 @@ TypeSystemClang::CreateTemplateTemplateParmDecl(const char *template_name) {
16821682
// type that includes a template template argument. Only the name matters for
16831683
// this purpose, so we use dummy values for the other characteristics of the
16841684
// type.
1685-
return TemplateTemplateParmDecl::Create(
1686-
ast, decl_ctx, SourceLocation(),
1687-
/*Depth*/ 0, /*Position*/ 0,
1688-
/*IsParameterPack*/ false, &identifier_info, template_param_list);
1685+
return TemplateTemplateParmDecl::Create(ast, decl_ctx, SourceLocation(),
1686+
/*Depth=*/0, /*Position=*/0,
1687+
/*IsParameterPack=*/false,
1688+
&identifier_info, /*Typename=*/false,
1689+
template_param_list);
16891690
}
16901691

16911692
ClassTemplateSpecializationDecl *

0 commit comments

Comments
 (0)