I'd rather use maybe_constant_value here, but I think you don't need to check the actual value at all; if we have decided that there is a conversion from bool to pointer, it must be a null pointer constant, and so false.

Jason

Reply via email to