[all-commits] [llvm/llvm-project] 02bc74: [mlir] Fix -Wdeprecated-copy in SparseTensorType.h...
Jie Fu via All-commits
all-commits at lists.llvm.org
Wed Mar 8 18:36:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 02bc7429d56f453087d0dd5f173b6b7c83fe3f58
https://github.com/llvm/llvm-project/commit/02bc7429d56f453087d0dd5f173b6b7c83fe3f58
Author: Jie Fu <jiefu at tencent.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
Log Message:
-----------
[mlir] Fix -Wdeprecated-copy in SparseTensorType.h (NFC)
/data/jiefu/llvm-project/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h:63:21: error: definition of implicit copy constructor for 'SparseTensorType' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
SparseTensorType &operator=(const SparseTensorType &) = delete;
^
/data/jiefu/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageLayout.h:239:9: note: in implicit copy constructor for 'mlir::sparse_tensor::SparseTensorType' first required here
: rType(stt), fields(fields) {
^
1 error generated.
More information about the All-commits
mailing list