FreeBSD/contrib/gcc/cp/parser.c
/* Issue an error message if the CLASS_KEY does not match the TYPE.  */
Issue an error message if the CLASS_KEY does not match the TYPE.
Issue an error message if the CLASS_KEY does not match the TYPE .
static void
cp_parser_check_class_key (enum tag_types class_key, tree type)
{
  if ((TREE_CODE (type) == UNION_TYPE) != (class_key == union_type))
    pedwarn ("%qs tag used in naming %q#T",
	    class_key == union_type ? "union"
	     : class_key == record_type ? "struct" : "class",
	     type);
}
static void cp_parser_check_class_key ( enum tag_types class_key , tree type ) { if ( ( TREE_CODE ( type ) == UNION_TYPE ) != ( class_key == union_type ) ) pedwarn ( " " , class_key == union_type ? " " : class_key == record_type ? " " : " " , type ) ; }
Issue an error message if the CLASS_KEY does not match the TYPE.
Issue an error message if the CLASS_KEY does not match the TYPE .