Regarding PointerToMember CXXBaseSpecifiers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Regarding PointerToMember CXXBaseSpecifiers

shirley breuer via cfe-dev
Hi everyone,
I was working on a fix for #48739 (https://bugs.llvm.org/show_bug.cgi?id=48739), which is about an assertion failure triggered by PointerToMember. Going by the docs for PointerToMember at https://clang.llvm.org/doxygen/classclang_1_1ento_1_1nonloc_1_1PointerToMember.html#details, the list of CXXBaseSpecifiers is for holding the history of casts applied. However, it seems that the list also holds a list of the base classes of the class whose member we are pointing to. My reasoning is summarised at https://reviews.llvm.org/D95307 on my comment on Jan 26.
Am I missing something or is my analysis right?
Warm Regards,
Deep

_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev