Re: [PATCH] c++: Diagnose invalid use of member function in requires

2020-04-21 Thread Jason Merrill via Gcc-patches
On 4/21/20 2:03 PM, Patrick Palka wrote: This updates diagnose_valid_expression to mirror the convert_to_void check added to tsubst_valid_expression_requirement by r10-7554. Passes 'make check-c++', does this look OK to commit after a full bootstrap/regtest? OK, thanks. gcc/cp/ChangeLog:

[PATCH] c++: Diagnose invalid use of member function in requires

2020-04-21 Thread Patrick Palka via Gcc-patches
This updates diagnose_valid_expression to mirror the convert_to_void check added to tsubst_valid_expression_requirement by r10-7554. Passes 'make check-c++', does this look OK to commit after a full bootstrap/regtest? gcc/cp/ChangeLog: PR c++/67825 * constraint.cc (diagnose_valid