Lines Matching defs:elt_type
1593 tree elt_type;
1663 for (elt_type = type;
1664 TREE_CODE (elt_type) == ARRAY_TYPE;
1665 elt_type = TREE_TYPE (elt_type))
1667 array_type_nelts_top (elt_type));
1669 if (TREE_CODE (elt_type) == VOID_TYPE)
1675 if (abstract_virtuals_error (NULL_TREE, elt_type))
1678 is_initialized = (TYPE_NEEDS_CONSTRUCTING (elt_type) || init);
1679 if (CP_TYPE_CONST_P (elt_type) && !is_initialized)
1681 error ("uninitialized const in %<new%> of %q#T", elt_type);
1685 size = size_in_bytes (elt_type);
1698 bitsize = size_binop (MULT_EXPR, TYPE_SIZE (elt_type), n);
1706 if (! placement && TYPE_FOR_JAVA (elt_type))
1709 tree class_decl = build_java_class_ref (elt_type);
1741 && CLASS_TYPE_P (elt_type)
1743 ? TYPE_HAS_ARRAY_NEW_OPERATOR (elt_type)
1744 : TYPE_HAS_NEW_OPERATOR (elt_type)))
1748 if (array_p && TYPE_VEC_NEW_USES_COOKIE (elt_type))
1750 cookie_size = targetm.cxx.get_cookie_size (elt_type);
1756 fns = lookup_fnfields (elt_type, fnname, /*protect=*/2);
1759 error ("no suitable %qD found in class %qT", fnname, elt_type);
1768 alloc_call = build_new_method_call (build_dummy_object (elt_type),
1778 if (array_p && TYPE_VEC_NEW_USES_COOKIE (elt_type))
1779 cookie_size = targetm.cxx.get_cookie_size (elt_type);
1873 size_in_bytes(elt_type));
1930 init, elt_type,