[Mlir-commits] [mlir] [mlir][polynomial] implement add for polynomial data structure (PR #92169)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue May 14 13:12: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 19008d32182ebbe421aaa222ee8af5c3e134e550 15bedc7e16a5be442b8af2668be79a52b1671aca -- mlir/unittests/Dialect/Polynomial/PolynomialMathTest.cpp mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h b/mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
index 45823275eb..e14cef5118 100644
--- a/mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
+++ b/mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
@@ -118,7 +118,7 @@ class PolynomialBase {
 public:
   PolynomialBase() = delete;
 
-  explicit PolynomialBase(ArrayRef<Monomial> terms) : terms(terms){};
+  explicit PolynomialBase(ArrayRef<Monomial> terms) : terms(terms) {};
 
   explicit operator bool() const { return !terms.empty(); }
   bool operator==(const PolynomialBase &other) const {

``````````

</details>


https://github.com/llvm/llvm-project/pull/92169


More information about the Mlir-commits mailing list