[Mlir-commits] [mlir] ddb86a3 - [mlir][sparse] removed unused using clauses in support lib (#68148)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Oct 3 12:43:55 PDT 2023


Author: Aart Bik
Date: 2023-10-03T12:43:51-07:00
New Revision: ddb86a378da1619ab0806ceac00ac20353056337

URL: https://github.com/llvm/llvm-project/commit/ddb86a378da1619ab0806ceac00ac20353056337
DIFF: https://github.com/llvm/llvm-project/commit/ddb86a378da1619ab0806ceac00ac20353056337.diff

LOG: [mlir][sparse] removed unused using clauses in support lib (#68148)

Added: 
    

Modified: 
    mlir/include/mlir/ExecutionEngine/SparseTensor/COO.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/ExecutionEngine/SparseTensor/COO.h b/mlir/include/mlir/ExecutionEngine/SparseTensor/COO.h
index bbe8396af15f3a6..f6eb45defcc1cfd 100644
--- a/mlir/include/mlir/ExecutionEngine/SparseTensor/COO.h
+++ b/mlir/include/mlir/ExecutionEngine/SparseTensor/COO.h
@@ -71,14 +71,7 @@ using ElementConsumer =
 template <typename V>
 class SparseTensorCOO final {
 public:
-  using value_type = const Element<V>;
-  using reference = value_type &;
-  using const_reference = reference;
-  using vector_type = std::vector<Element<V>>;
-  using iterator = typename vector_type::const_iterator;
-  using const_iterator = iterator;
-  using 
diff erence_type = typename vector_type::
diff erence_type;
-  using size_type = typename vector_type::size_type;
+  using const_iterator = typename std::vector<Element<V>>::const_iterator;
 
   /// Constructs a new coordinate-scheme sparse tensor with the given
   /// sizes and an optional initial storage capacity.


        


More information about the Mlir-commits mailing list