Lines Matching defs:complain
333 tsubst_flags_t complain, access_failure_info *afi = NULL)
345 ba_any, NULL, complain);
384 if (complain & tf_error)
430 tsubst_flags_t complain)
443 ok &= enforce_access (chk->binfo, chk->decl, chk->diag_decl, complain);
447 return (complain & tf_error) ? true : ok;
467 perform_deferred_access_checks (tsubst_flags_t complain)
469 return perform_access_checks (get_deferred_access_checks (), complain);
479 tsubst_flags_t complain,
497 bool ok = enforce_access (binfo, decl, diag_decl, complain, afi);
498 return (complain & tf_error) ? true : ok;
2260 tsubst_flags_t complain)
2332 decl, complain);
2352 tsubst_flags_t complain)
2363 && !mark_used (expr, complain))
2387 /*address_p=*/true, complain);
2422 complain));
2427 complain);
2433 if (complain & tf_error)
2634 tsubst_flags_t complain)
2673 if (complain & tf_error)
2699 bool koenig_p, tsubst_flags_t complain)
2782 complain);
2834 complain);
2864 && (complain & tf_warning)
2893 if ((complain & tf_warning)
2908 result = build_new_function_call (fn, args, complain);
2924 result = convert_to_void (ob, ICV_STATEMENT, complain);
2929 result = build_op_call (fn, args, complain);
2933 result = cp_build_function_call_vec (fn, args, complain);
3088 tsubst_flags_t complain)
3098 NULL_TREE, complain);
3105 if (!(complain & tf_warning))
3149 tsubst_flags_t complain,
3159 complain, fcl_context);
3162 (type, compound_literal, complain, LOOKUP_NORMAL));
3178 if (complain & tf_error)
3186 type = do_auto_deduction (type, compound_literal, type, complain,
3198 if (complain & tf_error)
3206 type = do_auto_deduction (type, compound_literal, type, complain,
3250 compound_literal, complain);
3256 compound_literal = reshape_init (type, compound_literal, complain);
3259 && !check_narrowing (type, compound_literal, complain))
3265 false, complain);
3271 complain);
3315 tree clean = cxx_maybe_build_cleanup (decl, complain);
3330 compound_literal = get_target_expr_sfinae (compound_literal, complain);
3853 /* DECL satisfies outer_automatic_var_p. Possibly complain about it or
3856 If ODR_USE is true, we're being called from mark_use, and we complain about
3861 process_outer_var_ref (tree decl, tsubst_flags_t complain, bool odr_use)
3883 if (!mark_used (decl, complain))
3904 return process_outer_var_ref (d, complain, odr_use);
3942 if (complain & tf_error)
3953 constant without odr-use. So don't complain yet. */
3958 if (complain & tf_error)
3975 if (complain & tf_error)
4432 calculate_direct_bases (tree type, tsubst_flags_t complain)
4434 if (!complete_type_or_maybe_complain (type, NULL_TREE, complain)
4497 calculate_bases (tree type, tsubst_flags_t complain)
4499 if (!complete_type_or_maybe_complain (type, NULL_TREE, complain)
11196 tsubst_flags_t complain = tf_warning_or_error;
11232 condition = contextual_conv_bool (condition, complain);
11233 condition = fold_non_dependent_expr (condition, complain,
11299 tsubst_flags_t complain)
11311 if (complain & tf_error)
11336 expr = instantiate_non_dependent_expr_sfinae (expr, complain|tf_decltype);
11347 expr = resolve_nondeduced_context (expr, complain);
11348 if (!mark_single_function (expr, complain))
11351 if (invalid_nonstatic_memfn_p (input_location, expr, complain))
11356 if (complain & tf_error)
12392 finish_builtin_launder (location_t loc, tree arg, tsubst_flags_t complain)
12396 arg = decay_conversion (arg, complain);
12415 tsubst_flags_t complain)
12425 decay_conversion (arg, complain),
12426 loc, type, (complain & tf_error) != 0);
12438 tsubst_flags_t complain)
12444 if (!complete_type_or_maybe_complain (type, NULL_TREE, complain))
12472 if (!complete_type_or_maybe_complain (TREE_TYPE (arg), arg, complain))
12476 arg = decay_conversion (arg, complain);
12504 ret = get_target_expr_sfinae (ret, complain);