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 HEAD~1 HEAD --extensions h,cpp -- clang/include/clang/Sema/Overload.h clang/include/clang/Sema/Sema.h clang/lib/Sema/SemaCodeComplete.cpp clang/lib/Sema/SemaInit.cpp clang/lib/Sema/SemaOverload.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/include/clang/Sema/Overload.h b/clang/include/clang/Sema/Overload.h index 4fb6bfe0a..51dc32ec0 100644 --- a/clang/include/clang/Sema/Overload.h +++ b/clang/include/clang/Sema/Overload.h @@ -745,9 +745,8 @@ class Sema; } bool isPerfect(const ASTContext &C) const { - return (isStandard() && Standard.isIdentityConversion() - && !Standard.DirectBinding - ) || + return (isStandard() && Standard.isIdentityConversion() && + !Standard.DirectBinding) || getKind() == StaticObjectArgumentConversion; } `````````` </details> https://github.com/llvm/llvm-project/pull/133426 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits