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 89b08c8ee7b5184f8cfb0d356f2762173fb87d42 a847f8bf8d02edb0b9615856713ec122cee1e927 --extensions h,cpp -- clang/include/clang/Sema/Sema.h clang/lib/Sema/CheckExprLifetime.cpp clang/lib/Sema/SemaAttr.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Sema/CheckExprLifetime.cpp b/clang/lib/Sema/CheckExprLifetime.cpp index f522c46c6c..2970f1fa0c 100644 --- a/clang/lib/Sema/CheckExprLifetime.cpp +++ b/clang/lib/Sema/CheckExprLifetime.cpp @@ -336,8 +336,7 @@ static bool shouldTrackImplicitObjectArg(const CXXMethodDecl *Callee) { return false; if (!isRecordWithAttr<PointerAttr>( Callee->getFunctionObjectParameterType()) && - !isRecordWithAttr<OwnerAttr>( - Callee->getFunctionObjectParameterType())) + !isRecordWithAttr<OwnerAttr>(Callee->getFunctionObjectParameterType())) return false; if (Sema::isPointerLikeType(Callee->getReturnType())) { if (!Callee->getIdentifier()) `````````` </details> https://github.com/llvm/llvm-project/pull/117315 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits