https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127643
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Indeed, class_members_of already has:
else if (TREE_CODE (field) == FUNCTION_DECL)
{
/* Ignore cloned cdtors. */
if (DECL_CLONED_FUNCTION_P (field))
continue;
but that covers just non-templates.
