Re: [PATCH 12/14] C++: introduce null_node_p

2017-12-11 Thread Jason Merrill
On 11/10/2017 04:45 PM, David Malcolm wrote: Eschew comparison with null_node in favor of a new null_node_p function, which strips any location wrappers. OK. Jason

[PATCH 12/14] C++: introduce null_node_p

2017-11-10 Thread David Malcolm
Eschew comparison with null_node in favor of a new null_node_p function, which strips any location wrappers. All of these sites require the node to be non-NULL, with the exception of the one in build_throw, hence the patch adds a test for NULL before the call to non_null_p at that site, rather tha