[llvm] [DAG][NFC] Remove unnecessary default arguments (PR #100737)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 06:21:38 PDT 2024
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 f4be6812e203690073280b9ac8d60092d75bbdce 020275c1f4668d2297f099b368c0691b62f1e173 --extensions h -- llvm/include/llvm/CodeGen/SDPatternMatch.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/SDPatternMatch.h b/llvm/include/llvm/CodeGen/SDPatternMatch.h
index 1992046cca..cc74b469b3 100644
--- a/llvm/include/llvm/CodeGen/SDPatternMatch.h
+++ b/llvm/include/llvm/CodeGen/SDPatternMatch.h
@@ -479,8 +479,7 @@ struct TernaryOpc_match {
template <typename T0_P, typename T1_P, typename T2_P>
inline TernaryOpc_match<T0_P, T1_P, T2_P>
m_SetCC(const T0_P &LHS, const T1_P &RHS, const T2_P &CC) {
- return TernaryOpc_match<T0_P, T1_P, T2_P>(ISD::SETCC, LHS, RHS,
- CC);
+ return TernaryOpc_match<T0_P, T1_P, T2_P>(ISD::SETCC, LHS, RHS, CC);
}
template <typename T0_P, typename T1_P, typename T2_P>
@@ -518,7 +517,7 @@ struct BinaryOpc_match {
template <typename LHS, typename RHS>
inline BinaryOpc_match<LHS, RHS> m_BinOp(unsigned Opc, const LHS &L,
- const RHS &R) {
+ const RHS &R) {
return BinaryOpc_match<LHS, RHS>(Opc, L, R);
}
template <typename LHS, typename RHS>
``````````
</details>
https://github.com/llvm/llvm-project/pull/100737
More information about the llvm-commits
mailing list