FreeBSD/contrib/gcc/cp/parser.c
/* This is a simple wrapper around make_typename_type. When the id is
   an unresolved identifier node, we can provide a superior diagnostic
   using cp_parser_diagnose_invalid_type_name.  */
This is a simple wrapper around make_typename_type. When the id is
an unresolved identifier node, we can provide a superior diagnostic
using cp_parser_diagnose_invalid_type_name.
This is a simple wrapper around make_typename_type . When the id is an unresolved identifier node we can provide a superior diagnostic using cp_parser_diagnose_invalid_type_name .
static tree
cp_parser_make_typename_type (cp_parser *parser, tree scope, tree id)
{
  tree result;
  if (TREE_CODE (id) == IDENTIFIER_NODE)
    {
      result = make_typename_type (scope, id, typename_type,
				   tf_none);
      if (result == error_mark_node)
	cp_parser_diagnose_invalid_type_name (parser, scope, id);
      return result;
    }
  return make_typename_type (scope, id, typename_type, tf_error);
}
static tree cp_parser_make_typename_type ( cp_parser * parser , tree scope , tree id ) { tree result ; if ( TREE_CODE ( id ) == IDENTIFIER_NODE ) { result = make_typename_type ( scope , id , typename_type , tf_none ) ; if ( result == error_mark_node ) cp_parser_diagnose_invalid_type_name ( parser , scope , id ) ; return result ; } return make_typename_type ( scope , id , typename_type , tf_error ) ; }
This is a simple wrapper around make_typename_type.
This is a simple wrapper around make_typename_type .
/*complain=*/