From: Jason Merrill Date: Wed, 3 Dec 2025 12:57:21 +0000 (+0530) Subject: c++: fix typo X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=413a7f7d934b70b4ee3e27cded5a0677d1eb574c;p=thirdparty%2Fgcc.git c++: fix typo Thanks to Marek for pointing out my misspelling. gcc/cp/ChangeLog: * pt.cc (dependent_implict_conv_p): Rename to... (dependent_implicit_conv_p): ...this. --- diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc index 3a59714d588..cd66aeafd86 100644 --- a/gcc/cp/pt.cc +++ b/gcc/cp/pt.cc @@ -8650,7 +8650,7 @@ maybe_convert_nontype_argument (tree type, tree arg, bool force) in a FORCED context (i.e. alias or concept). */ static bool -dependent_implict_conv_p (tree type, tree expr, bool forced) +dependent_implicit_conv_p (tree type, tree expr, bool forced) { return (dependent_type_p (type) || type_dependent_expression_p (expr) || (forced @@ -8939,7 +8939,7 @@ convert_template_argument (tree parm, && same_type_p (TREE_TYPE (orig_arg), t)) orig_arg = TREE_OPERAND (orig_arg, 0); - if (!dependent_implict_conv_p (t, orig_arg, force_conv)) + if (!dependent_implicit_conv_p (t, orig_arg, force_conv)) /* We used to call digest_init here. However, digest_init will report errors, which we don't want when complain is zero. More importantly, digest_init will try too @@ -21039,8 +21039,8 @@ tsubst_expr (tree t, tree args, tsubst_flags_t complain, tree in_decl) if (type == error_mark_node) RETURN (error_mark_node); tree expr = RECUR (TREE_OPERAND (t, 0)); - if (dependent_implict_conv_p (type, expr, - IMPLICIT_CONV_EXPR_FORCED (t))) + if (dependent_implicit_conv_p (type, expr, + IMPLICIT_CONV_EXPR_FORCED (t))) { retval = copy_node (t); TREE_TYPE (retval) = type;