[Lldb-commits] [clang] [lldb] [clang] remove IsDefaulted bit from TemplateArgument (PR #155120)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 8 03:30:10 PDT 2025


================
@@ -48,7 +48,7 @@ int main() {
 // COMMON-SAME: templateParams: ![[PARAM:[0-9]+]]
 // COMMON:      ![[PARAM]] = !{![[TEMPL_TYPE_PARAM:[0-9]+]]}
 // GDB:         ![[TEMPL_TYPE_PARAM]] = !DITemplateTypeParameter(name: "T", type: ![[BAR_INT_TY]])
-// LLDB:        ![[TEMPL_TYPE_PARAM]] = !DITemplateTypeParameter(name: "T", type: ![[BAR_INT_TY]])
+// LLDB:        ![[TEMPL_TYPE_PARAM]] = !DITemplateTypeParameter(name: "T", type: ![[FOO_INT]])
----------------
Michael137 wrote:

This means the type would be `Foo<int>` instead of `BarInt`. That's not ideal

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


More information about the lldb-commits mailing list