Home | History | Annotate | Download | only in cp

Lines Matching refs:complain

330 build_value_init (tree type, tsubst_flags_t complain)
357 NULL, type, LOOKUP_NORMAL, complain);
384 tree r = build_value_init_noctor (type, complain);
393 build_value_init_noctor (tree type, tsubst_flags_t complain)
397 if (complain & tf_error)
450 value = build_value_init (ftype, complain);
480 if (complain & tf_error)
499 ce.value = build_value_init (TREE_TYPE (type), complain);
519 if (complain & tf_error)
525 if (complain & tf_error)
577 maybe_instantiate_nsdmi_init (tree member, tsubst_flags_t complain)
584 complain &= tf_warning_or_error;
596 if (complain & tf_error)
628 complain, member, /*function_p=*/false,
630 init = digest_nsdmi_init (member, init, complain);
656 get_nsdmi (tree member, bool in_ctor, tsubst_flags_t complain)
661 tree init = maybe_instantiate_nsdmi_init (member, complain);
665 if (complain & tf_error)
1159 /*complain=*/true);
1960 build_aggr_init (tree exp, tree init, int flags, tsubst_flags_t complain)
2018 if (complain & tf_error)
2028 complain);
2045 init, LOOKUP_NORMAL|flags, complain);
2064 tsubst_flags_t complain)
2088 init = reshape_init (type, init, complain);
2095 init = digest_init (type, init, complain);
2140 flags, complain | tf_no_cleanup);
2190 complain);
2195 complain);
2207 complain);
2255 tsubst_flags_t complain)
2325 return expand_default_init (binfo, true_exp, exp, init, flags, complain);
2372 tsubst_flags_t complain)
2397 if (complain & tf_error)
2411 if (complain & tf_error)
2442 complain);
2445 complain);
2461 complain))
2495 return cp_build_addr_expr (member, complain);
2497 if (complain & tf_error)
2504 if (complain & tf_error)
2686 bool using_new, bool complain)
2709 if (complain)
2737 if (complain)
2765 using_new, complain);
2771 diagnose_uninitialized_cst_or_ref_member (tree type, bool using_new, bool complain)
2773 return diagnose_uninitialized_cst_or_ref_member_1 (type, type, using_new, complain);
3028 tsubst_flags_t complain)
3098 const_tree cst_outer_nelts = fold_non_dependent_expr (outer_nelts, complain);
3115 if (complain & tf_error)
3123 if (complain & tf_error)
3135 complain);
3139 !(complain & tf_error)))
3142 if (variably_modified_type_p (elt_type, NULL_TREE) && (complain & tf_error))
3156 if (complain & tf_warning_or_error)
3171 if (complain & tf_error)
3181 if (abstract_virtuals_error_sfinae (ACU_NEW, elt_type, complain))
3212 complain & tf_error))
3219 if (complain & tf_error)
3248 if (complain & tf_error)
3281 if (complain & tf_error)
3372 fns = lookup_fnfields (elt_type, fnname, /*protect=*/2, complain);
3375 if (complain & tf_error)
3381 if (complain & tf_error)
3409 &alloc_fn, complain);
3433 &alloc_fn, complain);
3455 if (complain & tf_warning_or_error
3633 complain);
3649 complain);
3656 vecinit = reshape_init (arraytype, vecinit, complain);
3660 vecinit = digest_init (arraytype, vecinit, complain);
3665 if (complain & tf_error)
3679 complain),
3683 complain,
3700 cl = convert_to_void (cl, ICV_STATEMENT, complain);
3716 complain|tf_no_cleanup);
3723 tree val = build_value_init (type, complain | tf_no_cleanup);
3743 ie = digest_init (type, ie, complain);
3747 complain);
3749 INIT_EXPR, ie, complain);
3792 complain));
3855 complain);
3857 alloc_node, complain);
3884 tsubst_flags_t complain)
3908 d_init = resolve_nondeduced_context (d_init, complain);
3918 t = resolve_nondeduced_context (t, complain);
3923 type = do_auto_deduction (type, d_init, auto_node, complain);
3963 if (complain & tf_error)
3973 const_tree cst_nelts = fold_non_dependent_expr (nelts, complain);
3981 complain & tf_error))
3985 nelts = cp_save_expr (cp_convert (sizetype, nelts, complain));
3993 if (complain & tf_error)
4002 if (complain & tf_error)
4046 e = reshape_init (type, e, complain);
4054 if (!complete_type_or_maybe_complain (type, NULL_TREE, complain))
4057 rval = build_new_1 (placement, type, nelts, init, use_global_new, complain);
4070 /* Wrap it in a NOP_EXPR so warn_if_unused_value doesn't complain. */
4081 int use_global_delete, tsubst_flags_t complain,
4115 !(complain & tf_error)))
4120 if (complain & tf_warning)
4149 complain);
4174 tmp = cp_build_modify_expr (loc, tbase, NOP_EXPR, tmp, complain);
4180 complain);
4222 base, complain),
4224 complain);
4227 base_tbd = cp_convert (ptype, base_tbd, complain);
4237 complain);
4276 return convert_to_void (body, ICV_CAST, complain);
4383 tsubst_flags_t complain,
4474 init = digest_init (atype, init, complain);
4479 maxindex = cp_convert (ptrdiff_type_node, maxindex, complain);
4485 base = decay_conversion (base, complain);
4488 base = cp_convert (ptype, base, complain);
4547 base2 = decay_conversion (init, complain);
4564 complain);
4574 complain);
4578 /*use_global_delete=*/0, complain,
4649 one_init = expand_vec_init_expr (baseref, vi, complain, flags);
4651 one_init = build_aggr_init (baseref, elt, 0, complain);
4654 NOP_EXPR, elt, complain);
4687 complain);
4694 complain);
4720 stmt = cp_build_binary_op (loc, MINUS_EXPR, iterator, length, complain);
4724 stmt = cp_build_binary_op (loc, PLUS_EXPR, base, length, complain);
4739 if (complain & tf_error)
4782 complain);
4821 from_array, complain);
4824 from, complain);
4826 elt_init = build_aggr_init (to, from, 0, complain);
4829 complain);
4837 if ((complain & tf_error))
4846 0, complain);
4850 elt_init = build_value_init (type, complain);
4858 elt_init = build_aggr_init (to, init, 0, complain);
4863 complain);
4928 complain));
4931 complain));
4976 tsubst_flags_t complain)
5001 complain);
5016 int flags, int use_global_delete, tsubst_flags_t complain)
5037 if (complain & tf_error)
5042 auto_delete, use_global_delete, complain);
5063 !(complain & tf_error)))
5068 if (complain & tf_warning)
5105 addr = convert_force (build_pointer_type (type), addr, 0, complain);
5112 addr = cp_build_addr_expr (addr, complain);
5116 addr = convert_force (build_pointer_type (type), addr, 0, complain);
5152 complain);
5169 complain);
5186 complain);
5194 auto_delete, flags, complain);
5227 nullptr_node, complain);
5358 int use_global_delete, tsubst_flags_t complain)
5391 base = decay_conversion (base, complain);
5402 if (base != error_mark_node && !(complain & tf_error))
5409 use_global_delete, complain);