mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
Use DECL_MAYBE_DELETED
This commit is contained in:
@@ -6609,10 +6609,7 @@ class_members_of (location_t loc, const constexpr_ctx *ctx, tree r,
|
||||
/* Ignore functions with unsatisfied constraints. */
|
||||
if (!constraints_satisfied_p (field))
|
||||
continue;
|
||||
if (special_function_p (field) == sfk_comparison
|
||||
&& undeduced_auto_decl (field)
|
||||
&& DECL_DEFAULTED_FN (field)
|
||||
&& DECL_INITIAL (field) == NULL_TREE)
|
||||
if (DECL_MAYBE_DELETED (field))
|
||||
{
|
||||
++function_depth;
|
||||
maybe_synthesize_method (field);
|
||||
|
||||
Reference in New Issue
Block a user