From: Mehdi Amini Date: Thu, 6 Oct 2022 19:23:10 +0000 (+0000) Subject: Apply clang-tidy fixes for modernize-use-using in SparseBufferRewriting.cpp (NFC) X-Git-Tag: upstream/17.0.6~30814 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f628d6c3e865d319f828bd69bb22500fffe1ea0b;p=platform%2Fupstream%2Fllvm.git Apply clang-tidy fixes for modernize-use-using in SparseBufferRewriting.cpp (NFC) --- diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp index 758d85c..8faaf33 100644 --- a/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp +++ b/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp @@ -42,8 +42,8 @@ static constexpr const char kSortNonstableFuncNamePrefix[] = static constexpr const char kSortStableFuncNamePrefix[] = "_sparse_sort_stable_"; -typedef function_ref - FuncGeneratorType; +using FuncGeneratorType = + function_ref; /// Constructs a function name with this format to facilitate quick sort: /// __..._