[Mlir-commits] [mlir] [mlir][sparse] complete migration to dim2lvl/lvl2dim in library (PR #69268)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Oct 16 17:47:12 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 81d04709f86968431ecab1df12a17279d057daa9 14874810c4cfecc762fdbdbe606dfa60669c4d18 -- mlir/include/mlir/ExecutionEngine/SparseTensor/File.h mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
``````````
</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 f31ac7c1b7cc..8f4faca07d27 100644
--- a/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
+++ b/mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
@@ -27,7 +27,8 @@ namespace mlir {
namespace sparse_tensor {
/// The type of callback functions which receive an element.
-template <typename V> using ElementConsumer = const std::function<void(V)> &;
+template <typename V>
+using ElementConsumer = const std::function<void(V)> &;
//===----------------------------------------------------------------------===//
//
``````````
</details>
https://github.com/llvm/llvm-project/pull/69268
More information about the Mlir-commits
mailing list