Add missing check for constant evaluation of a comparison of a pointer
to member naming a weak member to nullptr. This fixes a miscompile where constant evaluation would incorrectly determine that a weak member function pointer is never null. In passing, also improve the diagnostics for constant evaluation of some nearby cases.
Loading
Please sign in to comment