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 8ed36373a2227c7d39fb1a520ec8dde476dc5603 f7eafbfd258fb0acf60a01d033958f859c426ff3 --extensions cpp -- clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp b/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp index b823e048a4..8e93ed9fc6 100644 --- a/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp @@ -503,9 +503,9 @@ public: return true; } - bool VisitOffsetOfExpr(const OffsetOfExpr* OE) { - // offsetof(T) is considered trivial. - return true; + bool VisitOffsetOfExpr(const OffsetOfExpr *OE) { + // offsetof(T) is considered trivial. + return true; } bool VisitCXXMemberCallExpr(const CXXMemberCallExpr *MCE) { `````````` </details> https://github.com/llvm/llvm-project/pull/126996 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits