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 3ec858bc5d45ee22ca99febd38e1ba188f71022c cc3b7f6c4d75aab856a8c31cc7ccfbcb5c6626e8 -- clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.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 98ddf02bed..f6dd35c9e5 100644 --- a/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp @@ -337,7 +337,7 @@ public: return VisitChildren(CAO); } - bool VisitArraySubscriptExpr(const ArraySubscriptExpr* ASE) { + bool VisitArraySubscriptExpr(const ArraySubscriptExpr *ASE) { return VisitChildren(ASE); } @@ -370,13 +370,13 @@ public: return TrivialFunctionAnalysis::isTrivialImpl(Callee, Cache); } - bool VisitSubstNonTypeTemplateParmExpr( - const SubstNonTypeTemplateParmExpr* E) { + bool + VisitSubstNonTypeTemplateParmExpr(const SubstNonTypeTemplateParmExpr *E) { // Non-type template paramter is trivial if the replacement is trivial. return Visit(E->getReplacement()); } - bool VisitUnaryExprOrTypeTraitExpr(const UnaryExprOrTypeTraitExpr* E) { + bool VisitUnaryExprOrTypeTraitExpr(const UnaryExprOrTypeTraitExpr *E) { return VisitChildren(E); } `````````` </details> https://github.com/llvm/llvm-project/pull/90414 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits