================
@@ -462,7 +545,7 @@ class UncountedCallArgsChecker final : public 
RawPtrRefCallArgsChecker {
     return isRefOrCheckedPtrType(type);
   }
 
-  const char *ptrKind() const final { return "uncounted"; }
+  const char *typeName() const final { return "RefPtr capable type"; }
----------------
steakhal wrote:

Hmm, I was reading the diagnostics and it wasn't apparent to me how to read 
this.
When reading, I paused between `RefPtr` and `capable`. Then I realized that 
maybe it should have been written as `RefPtr-capable type` instead.

```suggestion
  const char *typeName() const final { return "RefPtr-capable type"; }
```

https://github.com/llvm/llvm-project/pull/202724
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to