FreeBSD/contrib/gcc/cp/decl.c
/* Returns true iff an EH_SPEC_BLOCK should be created in the body of
   FN.  */
Returns true iff an EH_SPEC_BLOCK should be created in the body of
FN.
Returns true iff an EH_SPEC_BLOCK should be created in the body of FN .
static bool
use_eh_spec_block (tree fn)
{
  return (flag_exceptions && flag_enforce_eh_specs
	  && !processing_template_decl
	  && TYPE_RAISES_EXCEPTIONS (TREE_TYPE (fn))
	  && !DECL_CLONED_FUNCTION_P (fn)
	  && !DECL_ARTIFICIAL (fn));
}
static bool use_eh_spec_block ( tree fn ) { return ( flag_exceptions && flag_enforce_eh_specs && ! processing_template_decl && TYPE_RAISES_EXCEPTIONS ( TREE_TYPE ( fn ) ) && ! DECL_CLONED_FUNCTION_P ( fn ) && ! DECL_ARTIFICIAL ( fn ) ) ; }
Returns true iff an EH_SPEC_BLOCK should be created in the body of
FN.
Returns true iff an EH_SPEC_BLOCK should be created in the body of FN .
/* We insert the EH_SPEC_BLOCK only in the original
	     function; then, it is copied automatically to the
	     clones.  */ /* Implicitly-generated constructors and destructors have
	     exception specifications.  However, those specifications
	     are the union of the possible exceptions specified by the
	     constructors/destructors for bases and members, so no
	     unallowed exception will ever reach this function.  By
	     not creating the EH_SPEC_BLOCK we save a little memory,
	     and we avoid spurious warnings about unreachable
	     code.  */