[clang] [DRAFT][analyzer][NFC] clang-format our folders (PR #82599)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 23 08:38:01 PST 2024


================
@@ -244,24 +246,25 @@ void WalkAST::VisitCallExpr(CallExpr *CE) {
     if (containsBadStrlcpyStrlcatPattern(CE)) {
       const Expr *DstArg = CE->getArg(0);
       const Expr *LenArg = CE->getArg(2);
-      PathDiagnosticLocation Loc =
-        PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC);
+      PathDiagnosticLocation Loc = PathDiagnosticLocation::createBegin(
+          LenArg, BR.getSourceManager(), AC);
 
       StringRef DstName = getPrintableName(DstArg);
 
       SmallString<256> S;
       llvm::raw_svector_ostream os(S);
-      os << "The third argument allows to potentially copy more bytes than it should. ";
+      os << "The third argument allows to potentially copy more bytes than it "
+            "should. ";
       os << "Replace with the value ";
----------------
steakhal wrote:

Bad formatting.

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


More information about the cfe-commits mailing list