bolshakov-a wrote: When instantiating such an alias: ```cpp template <typename T> using Identity = T; ``` before the patch: ``` TemplateSpecializationType 0x5555676f0a60 'Identity<IndirectClass>' sugar alias |-name: 'Identity' qualified | `-TypeAliasTemplateDecl 0x5555676c91d8 Identity |-TemplateArgument type 'IndirectClass' | `-ElaboratedType 0x5555676c9250 'IndirectClass' sugar | `-RecordType 0x5555676c8430 'class IndirectClass' | `-CXXRecord 0x5555676c8398 'IndirectClass' `-SubstTemplateTypeParmType 0x5555676f0a20 'class IndirectClass' sugar typename depth 0 index 0 T |-TypeAliasTemplate 0x5555676c91d8 'Identity' `-RecordType 0x5555676c8430 'class IndirectClass' `-CXXRecord 0x5555676c8398 'IndirectClass' ``` After the patch: ``` TemplateSpecializationType 0x5555676f0a30 'Identity<IndirectClass>' sugar alias |-name: 'Identity' qualified | `-TypeAliasTemplateDecl 0x5555676c91d8 Identity |-TemplateArgument type 'IndirectClass' | `-ElaboratedType 0x5555676c9250 'IndirectClass' sugar | `-RecordType 0x5555676c8430 'class IndirectClass' | `-CXXRecord 0x5555676c8398 'IndirectClass' `-ElaboratedType 0x5555676c9250 'IndirectClass' sugar `-RecordType 0x5555676c8430 'class IndirectClass' `-CXXRecord 0x5555676c8398 'IndirectClass' ``` @mizvekov, do you have any idea how to get back the lost `SubstTemplateTypeParmType`? It plays an important role in the IWYU tool analysis. Thanks!
https://github.com/llvm/llvm-project/pull/101858 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits