[clang] [alpha.webkit.UncountedCallArgsChecker] Improve the warning text (PR #202724)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 19 06:30:58 PDT 2026


================
@@ -284,7 +284,7 @@ void RetainTypeChecker::visitTypedef(const TypedefDecl *TD) {
   for (auto *Redecl : RT->getDecl()->getMostRecentDecl()->redecls()) {
     if (Redecl->getAttr<ObjCBridgeAttr>() ||
         Redecl->getAttr<ObjCBridgeMutableAttr>()) {
-      CFPointees.insert(RT);
+      CFPointees.insert(std::make_pair(RT, TD));
----------------
steakhal wrote:

```suggestion
      CFPointees.insert({RT, TD});
```

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


More information about the cfe-commits mailing list