[Mlir-commits] [mlir] Restore #91137 (PR #92003)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon May 13 10:30:50 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 cf40c93b5be5cd0011ebbf3a9eead224f7b7079a fb6c24b26e7198c3d8dbad5ff3c0ab3a828720d6 -- mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h mlir/lib/Dialect/Polynomial/IR/Polynomial.cpp mlir/lib/Dialect/Polynomial/IR/PolynomialAttributes.cpp
``````````

</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 2b3f0e105c..eebfecb4f7 100644
--- a/mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
+++ b/mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
@@ -109,7 +109,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/92003


More information about the Mlir-commits mailing list