[Lldb-commits] [lldb] [lldb] Fix call to TemplateTemplateParmDecl::Create after #88139 (PR #88417)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 11 10:34:54 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Krystian Stasiowski (sdkrystian)
<details>
<summary>Changes</summary>
#<!-- -->88139 adds a parameter to `TemplateTemplateParmDecl::Create`, which is called in LLDB. This adds the missing argument for that parameter.
---
Full diff: https://github.com/llvm/llvm-project/pull/88417.diff
1 Files Affected:
- (modified) lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp (+5-4)
``````````diff
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 *
``````````
</details>
https://github.com/llvm/llvm-project/pull/88417
More information about the lldb-commits
mailing list