[Mlir-commits] [mlir] b11510d - Apply clang-tidy fixes for modernize-use-using to MLIR (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sat Jan 1 17:25:41 PST 2022


Author: Mehdi Amini
Date: 2022-01-02T01:25:14Z
New Revision: b11510d5dfaf82b0979b3d1d0b075c937d6371a7

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

LOG: Apply clang-tidy fixes for modernize-use-using to MLIR (NFC)

Reviewed By: rriddle, Mogball

Differential Revision: https://reviews.llvm.org/D116357

Added: 
    

Modified: 
    mlir/lib/ExecutionEngine/SparseTensorUtils.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/ExecutionEngine/SparseTensorUtils.cpp b/mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
index 32faad2d0d41..927284ec13f4 100644
--- a/mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
+++ b/mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
@@ -691,7 +691,7 @@ extern "C" {
 /// type is 64-bit, but targets with 
diff erent "index" bit widths should link
 /// with an alternatively built runtime support library.
 // TODO: support such targets?
-typedef uint64_t index_t;
+using index_t = uint64_t;
 
 //===----------------------------------------------------------------------===//
 //


        


More information about the Mlir-commits mailing list