github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff 91fdfec263ff2b8e88433c4294a550cabb0f2314 4f5fc3e12747064b35c490e510c63702afc8a800 --extensions c,cpp -- clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp clang/test/Analysis/builtin_overflow.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp index d49f01898e..4ab0c4c9ae 100644 --- a/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp @@ -194,8 +194,8 @@ void BuiltinFunctionChecker::handleOverflowBuiltin(const CallEvent &Call, auto [Overflow, NotOverflow] = checkOverflow(C, RetValMax, ResultType); if (NotOverflow) { - ProgramStateRef StateNoOverflow = - State->BindExpr(CE, C.getLocationContext(), SVB.makeTruthVal(false, BoolTy)); + ProgramStateRef StateNoOverflow = State->BindExpr( + CE, C.getLocationContext(), SVB.makeTruthVal(false, BoolTy)); if (auto L = Call.getArgSVal(2).getAs<Loc>()) { StateNoOverflow = @@ -213,9 +213,9 @@ void BuiltinFunctionChecker::handleOverflowBuiltin(const CallEvent &Call, } if (Overflow) { - C.addTransition( - State->BindExpr(CE, C.getLocationContext(), SVB.makeTruthVal(true, BoolTy)), - createBuiltinOverflowNoteTag(C)); + C.addTransition(State->BindExpr(CE, C.getLocationContext(), + SVB.makeTruthVal(true, BoolTy)), + createBuiltinOverflowNoteTag(C)); } } `````````` </details> https://github.com/llvm/llvm-project/pull/111253 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits