Michael137 added inline comments.

================
Comment at: clang/test/CodeGen/preferred_name.cpp:49
+
+    Foo<Foo<int>> varFooInt;
+
----------------
probinson wrote:
> This doesn't become `Foo<BarInt>` ?
The name stays as `Foo<Foo<int>>` but the type of the template parameter 
becomes `BarInt`. So the dwarf would look like:
```
DW_TAG_structure_type
  DW_AT_name      ("Foo<Foo<int> >")

  DW_TAG_template_type_parameter
    DW_AT_type    (0x00000095 "BarInt")
    DW_AT_name    ("T")

```
Will add the parameter metadata to the test


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145803/new/

https://reviews.llvm.org/D145803

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to