[clang] [clang] Reword apologetic Clang diagnostic messages (PR #76310)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 3 08:28:57 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 pointer-to-member type %1, that refers "
----------------
erichkeane wrote:

```suggestion
  "non-type template argument of pointer-to-member type %1 that refers "
```

https://github.com/llvm/llvm-project/pull/76310


More information about the cfe-commits mailing list