ykhatav wrote:
> `DW_TAG_template_alias` suffer from the same issue?
It does not look like template_alias has the same issue, although I am not very
familiar with template_alias types. I tried a small example where the scope is
set correctly:
template<int I>
struct S {
template <int>
using A = int;
using AA = A<I>;
AA aa;
};
!5 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "S", file: !3,
line: 3, size: 32, flags: DIFlagTypePassByValue, elements: !6, templateParams:
!13, identifier: "_ZTS1SILi0EE")
!DIDerivedType(tag: DW_TAG_template_alias, name: "A", scope: !5, file: !3,
line: 5, baseType: !10, extraData: !11)
https://github.com/llvm/llvm-project/pull/146729
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits