[clang] [analyzer][NFC] Match the parameters order of getEndPath and finalizeVisitor with VisitNode (PR #212883)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 30 02:41:13 PDT 2026


================
@@ -2438,8 +2443,7 @@ MallocChecker::FreeMemAux(CheckerContext &C, const Expr *ArgExpr,
       // Check if the memory location being freed is the actual location
       // allocated, or an offset.
       RegionOffset Offset = R->getAsOffset();
-      if (Offset.isValid() &&
-          !Offset.hasSymbolicOffset() &&
+      if (Offset.isValid() && !Offset.hasSymbolicOffset() &&
----------------
steakhal wrote:

`git clang-format HEAD^` usually does the trick.

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


More information about the cfe-commits mailing list