[Mlir-commits] [mlir] [mlir][sparse] minor edits to support lib files (PR #68137)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Oct 3 11:04:49 PDT 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 0a53005113329227419a34d4f6b2ff124ceec590 44b857d7f47b5f43d97cd08d21e5faf96d7e5234 -- mlir/include/mlir/ExecutionEngine/SparseTensor/COO.h mlir/include/mlir/ExecutionEngine/SparseTensor/File.h mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h mlir/include/mlir/ExecutionEngine/SparseTensorRuntime.h
``````````

</details>

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

``````````diff
diff --git a/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h b/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
index 2cab0c01d134..28c28c28109c 100644
--- a/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
+++ b/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
@@ -44,8 +44,10 @@ namespace mlir {
 namespace sparse_tensor {
 
 // Forward references.
-template <typename V> class SparseTensorEnumeratorBase;
-template <typename P, typename C, typename V> class SparseTensorEnumerator;
+template <typename V>
+class SparseTensorEnumeratorBase;
+template <typename P, typename C, typename V>
+class SparseTensorEnumerator;
 
 namespace detail {
 

``````````

</details>


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


More information about the Mlir-commits mailing list