https://github.com/sdkrystian created
https://github.com/llvm/llvm-project/pull/88417
#88139 adds a parameter to `TemplateTemplateParmDecl::Create`, which is called
in LLDB. This adds the missing argument for that parameter.
>From c332569c0286fa5f7b1d34fc1048f5b73e035a65 Mon Sep 17 00:00:00 2001
From: Krystian Stasiowski
Date: Thu, 11 Apr 2024 13:32:25 -0400
Subject: [PATCH] [lldb] Fix call to TemplateTemplateParmDecl::Create after
#88139
---
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index ee634d12b3c41e..44bd02bd4b367d 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -1682,10 +1682,11 @@ TypeSystemClang::CreateTemplateTemplateParmDecl(const
char *template_name) {
// type that includes a template template argument. Only the name matters for
// this purpose, so we use dummy values for the other characteristics of the
// type.
- return TemplateTemplateParmDecl::Create(
- ast, decl_ctx, SourceLocation(),
- /*Depth*/ 0, /*Position*/ 0,
- /*IsParameterPack*/ false, &identifier_info, template_param_list);
+ return TemplateTemplateParmDecl::Create(ast, decl_ctx, SourceLocation(),
+ /*Depth=*/0, /*Position=*/0,
+ /*IsParameterPack=*/false,
+ &identifier_info, /*Typename=*/false,
+ template_param_list);
}
ClassTemplateSpecializationDecl *
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits