[Mlir-commits] [mlir] 7724c4b - [mlir] Apply ClangTidy fixes

Adrian Kuegel llvmlistbot at llvm.org
Wed Jul 12 02:31:45 PDT 2023


Author: Adrian Kuegel
Date: 2023-07-12T11:31:05+02:00
New Revision: 7724c4b5a93e6f7d8c424181e8b576d683f3abb2

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

LOG: [mlir] Apply ClangTidy fixes

The get() call is redundant.

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h b/mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
index 629d4b55815a00..472f642cfa05cf 100644
--- a/mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
+++ b/mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
@@ -438,7 +438,7 @@ class TransformState {
       }
     }
 #endif // NDEBUG
-    return *it->second.get();
+    return *it->second;
   }
 
   /// Returns the mappings frame for the region in which the operation resides.
@@ -465,7 +465,7 @@ class TransformState {
       }
     }
 #endif // NDEBUG
-    return *it->second.get();
+    return *it->second;
   }
 
   /// Updates the state to include the associations between op results and the


        


More information about the Mlir-commits mailing list