<div dir="ltr"><div>Hi everyone,</div><div>I was working on a fix for #48739 (<a href="https://bugs.llvm.org/show_bug.cgi?id=48739">https://bugs.llvm.org/show_bug.cgi?id=48739</a>), which is about an assertion failure triggered by PointerToMember. Going by the docs for PointerToMember at <a href="https://clang.llvm.org/doxygen/classclang_1_1ento_1_1nonloc_1_1PointerToMember.html#details">https://clang.llvm.org/doxygen/classclang_1_1ento_1_1nonloc_1_1PointerToMember.html#details</a>, the list of CXXBaseSpecifiers is for <b>holding the history of casts applied</b>. 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 <a href="https://reviews.llvm.org/D95307">https://reviews.llvm.org/D95307</a> on my comment on Jan 26.<br></div><div>Am I missing something or is my analysis right?</div><div>Warm Regards,</div><div>Deep<br></div></div>