[clang] [clang] Reword apologetic Clang diagnostic messages (PR #76310)
Pavel Gueorguiev via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 2 11:59:14 PST 2024
================
@@ -5188,7 +5188,7 @@ def err_template_arg_not_object_or_func : Error<
def err_template_arg_not_pointer_to_member_form : Error<
"non-type template argument is not a pointer to member constant">;
def err_template_arg_member_ptr_base_derived_not_supported : Error<
- "sorry, non-type template argument of pointer-to-member type %1 that refers "
+ "non-type template argument of a pointer to member type %1, that refers "
----------------
pav-code wrote:
Changed. I found it odd that there are places where it's sometimes 'pointer-to-member' and other times 'pointer to member' (like even right in the line above `5189: ...not a pointer to member...`)
https://github.com/llvm/llvm-project/pull/76310
More information about the cfe-commits
mailing list