================
@@ -11007,8 +11007,8 @@ def warn_lifetime_safety_dangling_global_moved
InGroup<LifetimeSafetyDanglingGlobalMoved>,
DefaultIgnore;
-def warn_lifetime_safety_param_lifetimebound_violation
- : Warning<"could not verify that the return value can be lifetime bound to
%select{an unnamed parameter|'%1'}0">,
+def warn_lifetime_safety_lifetimebound_violation
+ : Warning<"could not verify that the return value can be lifetime bound to
%select{an unnamed parameter|'%1'|an implicit this parameter}0">,
----------------
Xazax-hun wrote:
Nit: we only have one implicit this parameter, so we should say `the implicit
this parameter`.
https://github.com/llvm/llvm-project/pull/196926
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits