[clang] Templated equals take 2 (PR #72213)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 13 22:59:53 PST 2023
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 c14602b318f2d439af254710095684c1f5a8a386 79181efd0d7aef1b8396d44cdf40c0dfa4054984 -- clang/lib/Sema/SemaOverload.cpp clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.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 9d50a5ec39..487000322a 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -12120,8 +12120,8 @@ struct CompareOverloadCandidatesForDisplay {
return true;
if (L->DeductionFailure.Result != R->DeductionFailure.Result)
- return RankDeductionFailure(L->DeductionFailure)
- < RankDeductionFailure(R->DeductionFailure);
+ return RankDeductionFailure(L->DeductionFailure) <
+ RankDeductionFailure(R->DeductionFailure);
} else if (RFailureKind == ovl_fail_bad_deduction)
return false;
``````````
</details>
https://github.com/llvm/llvm-project/pull/72213
More information about the cfe-commits
mailing list