I realized that I committed a change with a missing space after seen_error.
This fixes it, as well as another occurrence in the same file.
Apologies for the mistake - I'll commit this as obvious.
gcc/cp/ChangeLog:
* pt.cc (tsubst_expr): Add missing space after seen_error.
(dependent_type_p): Likewise.
be using lambdas anyway, so it's ok to be
stricter. Be strict with C++20 template-id ADL too.
And be strict if we're already failing anyway. */
- bool strict = in_lambda || template_id_p || seen_error();
+ bool strict = in_lambda || template_id_p || seen_error ();
bool diag = true;
if (strict)
error_at (cp_expr_loc_or_input_loc (t),
providing us with a dependent type. */
gcc_assert (type);
gcc_assert (TREE_CODE (type) != TEMPLATE_TYPE_PARM || is_auto (type)
- || seen_error());
+ || seen_error ());
return false;
}