[clang] WebKit Checkers should set DeclWithIssue. (PR #109389)

Ryosuke Niwa via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 22:27:49 PDT 2024


================
@@ -56,12 +62,16 @@ class UncountedCallArgsChecker
       bool TraverseClassTemplateDecl(ClassTemplateDecl *Decl) {
         if (isRefType(safeGetName(Decl)))
           return true;
-        return RecursiveASTVisitor<LocalVisitor>::TraverseClassTemplateDecl(
-            Decl);
+        return Base::TraverseClassTemplateDecl(Decl);
+      }
+
+      bool TraverseDecl(Decl *D) {
----------------
rniwa wrote:

Ah, right, I'd add if for `FunctionDecl` and `ObjCMethodDecl`.

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


More information about the cfe-commits mailing list