[clang] [clang][analyzer] Detect additional unsafe string functions (PR #234582)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 1 12:17:14 PST 2026


================
@@ -101,7 +101,10 @@ class WalkAST : public StmtVisitor<WalkAST> {
   void VisitChildren(Stmt *S);
 
   // Helpers.
-  bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
+  bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD,
+                        bool IsWide);
----------------
steakhal wrote:

I think the second line is not aligned with the first one. I wonder how this passed clang-format.

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


More information about the cfe-commits mailing list