Home | History | Annotate | Download | only in cp

Lines Matching defs:complain

102 	/* Don't complain here, we'll complain about incompleteness
186 constexpr function, and complain if COMPLAIN. */
189 is_valid_constexpr_fn (tree fun, bool complain)
197 if (complain)
208 if (complain)
221 if (complain)
230 if (complain)
242 if (complain)
257 if (complain)
271 if (complain)
479 /*complain=*/false);
484 /*complain=*/false))
502 check_constexpr_ctor_body (tree last, tree list, bool complain)
529 if (complain)
766 bases/fields are uninitialized, and complain if COMPLAIN. */
769 cx_check_missing_mem_inits (tree ctype, tree body, bool complain)
789 if (complain)
825 (TREE_TYPE (field), NULL_TREE, complain);
826 if (bad && !complain)
832 /* A flexible array can't be intialized here, so don't complain
848 if (!complain)
863 (TREE_TYPE (index), CONSTRUCTOR_ELT (body, i)->value, complain);
864 if (bad && !complain)
905 bool complain = !DECL_GENERATED_P (fun) && !implicit;
907 if (!is_valid_constexpr_fn (fun, complain))
913 if (!DECL_CONSTRUCTOR_P (fun) && complain)
920 if (!potential && complain)
927 massaged, complain))
935 if (!potential && complain)
940 if (!potential && complain)
1898 /* Complain about a const object OBJ being modified in a constant expression.
2085 tsubst_flags_t complain = ctx->quiet ? tf_none : tf_warning_or_error;
2193 return cp_build_addr_expr (t, complain);
2249 return cp_build_addr_expr (obj, complain);
3966 VERIFY_CONSTANT to complain and fail. */
4881 tsubst_flags_t complain = ctx->quiet ? tf_none : tf_warning_or_error;
4896 init = build_value_init (elttype, complain);
4904 complain);
4946 eltinit = cp_build_array_ref (input_location, init, idx, complain);
4967 eltinit = cp_build_array_ref (input_location, init, idx, complain);
4970 eltinit = force_rvalue (eltinit, complain);
5034 tsubst_flags_t complain = ctx->quiet ? tf_none : tf_warning_or_error;
5046 init = expand_vec_init_expr (ctx->object, t, complain);
5405 /* Complain about R, a VAR_DECL, not being usable in a constant expression.
6415 /* Complain about an attempt to evaluate inline assembly. */
6427 context; maybe complain about that. */
8063 cxx_constant_value_sfinae (tree t, tree decl, tsubst_flags_t complain)
8065 bool sfinae = !(complain & tf_error);
8259 fold_non_dependent_expr_template (tree t, tsubst_flags_t complain,
8268 t = instantiate_non_dependent_expr_internal (t, complain);
8311 (t, complain) followed by maybe_constant_value but is more efficient,
8316 Callers should generally pass their active complain, or if they are in a
8319 have a complain parameter, and aren't going to remember the result for long
8325 tsubst_flags_t complain /* = tf_warning_or_error */,
8333 return fold_non_dependent_expr_template (t, complain,
8344 tsubst_flags_t complain/*=tf_warning_or_error*/)
8346 tree t = fold_non_dependent_expr (expr, complain);
8357 tsubst_flags_t complain /*=tf_warning_or_error*/,
8366 t = fold_non_dependent_expr_template (t, complain,
9702 /* Like above, but complain about non-constant expressions. */
9750 /* Like above, but complain about non-constant expressions. */