================
@@ -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() &&
----------------
isuckatcs wrote:
> It looks like my IDE setup for running `clang-format` when I save a file
I recommend trying out `clangd` as well. It provides the same formatting
functionality, but also gives you access to `clang-tidy` checks, and `FixIt`s
you can apply easily.
I mean, it is a language server that integrates `clang-format` and `clang-tidy`
along with many other useful features.
https://github.com/llvm/llvm-project/pull/212883
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits