Skip to content
Commit 5982b0b0 authored by Richard Smith's avatar Richard Smith
Browse files

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.
parent e6d925bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment