Regarding PointerToMember CXXBaseSpecifiers

Hi everyone,
I was working on a fix for #48739 (, which is about an assertion failure triggered by PointerToMember. Going by the docs for PointerToMember at, 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 on my comment on Jan 26.

Am I missing something or is my analysis right?
Warm Regards,