Lines Matching defs:newtype

1022 match_builtin_function_types (tree newtype, tree oldtype)
1030 newrettype = TREE_TYPE (newtype);
1036 newargs = TYPE_ARG_TYPES (newtype);
1062 tree newtype, tree oldtype)
1067 || !comptypes (TREE_TYPE (oldtype), TREE_TYPE (newtype))
1070 (TYPE_ARG_TYPES (newtype) == 0 && DECL_INITIAL (newdecl) == 0)))
1075 t = TYPE_ARG_TYPES (newtype);
1102 validate_proto_after_old_defn (tree newdecl, tree newtype, tree oldtype)
1110 newargs = TYPE_ARG_TYPES (newtype);
1193 tree newtype, oldtype;
1206 *newtypep = newtype = TREE_TYPE (newdecl);
1207 if (oldtype == error_mark_node || newtype == error_mark_node)
1239 if (!comptypes (oldtype, newtype))
1246 tree trytype = match_builtin_function_types (newtype, oldtype);
1248 if (trytype && comptypes (newtype, trytype))
1276 && TYPE_MAIN_VARIANT (TREE_TYPE (newtype)) == integer_type_node
1281 TREE_TYPE (newdecl) = *newtypep = newtype = oldtype;
1288 && TYPE_MAIN_VARIANT (TREE_TYPE (newtype)) == void_type_node
1294 TREE_TYPE (olddecl) = *oldtypep = oldtype = newtype;
1299 if (TYPE_QUALS (newtype) != TYPE_QUALS (oldtype))
1303 diagnose_arglist_conflict (newdecl, olddecl, newtype, oldtype);
1377 && !TYPE_ARG_TYPES (oldtype) && TYPE_ARG_TYPES (newtype)
1379 && !validate_proto_after_old_defn (newdecl, newtype, oldtype))
1654 merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype)
1692 = composite_type (newtype, oldtype);
1979 tree newtype = NULL, oldtype = NULL;
1981 if (!diagnose_mismatched_decls (newdecl, olddecl, &newtype, &oldtype))
1988 merge_decls (newdecl, olddecl, newtype, oldtype);
2449 tree newtype = default_function_type;
2463 newtype = build_type_attribute_variant (newtype,
2466 if (!comptypes (newtype, TREE_TYPE (decl)))
2470 newtype = TREE_TYPE (decl);
2475 if (!comptypes (newtype, TREE_TYPE (decl)))
2483 TREE_TYPE (decl) = newtype;