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 458d70674190c4d043d5dfd2e41aecddff5cdb69 2a471bb4e23a2f50d90ea42827d8dcb4c6341af9 -- clang/test/CXX/temp/temp.spec/temp.expl.spec/p14-23.cpp clang/test/CXX/temp/temp.spec/temp.expl.spec/p8.cpp clang/include/clang/Sema/Sema.h clang/lib/Sema/SemaConcept.cpp clang/lib/Sema/SemaOverload.cpp clang/lib/Sema/SemaTemplate.cpp clang/lib/Sema/SemaTemplateDeduction.cpp clang/lib/Sema/SemaTemplateInstantiate.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp index 9071c524d8..8f5746ff96 100644 --- a/clang/lib/Sema/SemaOverload.cpp +++ b/clang/lib/Sema/SemaOverload.cpp @@ -10705,7 +10705,7 @@ bool clang::isBetterOverloadCandidate( if (!Cand1IsSpecialization && !Cand2IsSpecialization && sameFunctionParameterTypeLists(S, Cand1, Cand2) && (Cand1.Function->getTrailingRequiresClause() || - Cand2.Function->getTrailingRequiresClause()) && + Cand2.Function->getTrailingRequiresClause()) && S.getMoreConstrainedFunction(Cand1.Function, Cand2.Function) == Cand1.Function) return true; `````````` </details> https://github.com/llvm/llvm-project/pull/88963 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits