[llvm] [mlir] [mlir][polynomial] Remove polynomial dialect (PR #139766)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 10:03:53 PDT 2025
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 HEAD~1 HEAD --extensions h -- mlir/include/mlir/InitAllDialects.h mlir/test/lib/Dialect/Test/TestAttributes.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/InitAllDialects.h b/mlir/include/mlir/InitAllDialects.h
index e751bf710..ea285ac7f 100644
--- a/mlir/include/mlir/InitAllDialects.h
+++ b/mlir/include/mlir/InitAllDialects.h
@@ -205,6 +205,6 @@ inline void registerAllDialects(MLIRContext &context) {
context.appendDialectRegistry(registry);
}
-} // namespace mlir
+} // namespace mlir
-#endif // MLIR_INITALLDIALECTS_H_
+#endif // MLIR_INITALLDIALECTS_H_
diff --git a/mlir/test/lib/Dialect/Test/TestAttributes.h b/mlir/test/lib/Dialect/Test/TestAttributes.h
index 8c4bdd2d7..778d84fae 100644
--- a/mlir/test/lib/Dialect/Test/TestAttributes.h
+++ b/mlir/test/lib/Dialect/Test/TestAttributes.h
@@ -33,7 +33,7 @@ namespace test {
class TestDialect;
// Payload class for the CopyCountAttr.
class CopyCount {
- public:
+public:
CopyCount(std::string value) : value(value) {}
CopyCount(const CopyCount &rhs);
CopyCount &operator=(const CopyCount &rhs);
@@ -48,9 +48,9 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
/// A handle used to reference external elements instances.
using TestDialectResourceBlobHandle =
mlir::DialectResourceBlobHandle<TestDialect>;
-} // namespace test
+} // namespace test
#define GET_ATTRDEF_CLASSES
#include "TestAttrDefs.h.inc"
-#endif // MLIR_TESTATTRIBUTES_H
+#endif // MLIR_TESTATTRIBUTES_H
``````````
</details>
https://github.com/llvm/llvm-project/pull/139766
More information about the llvm-commits
mailing list