[Mlir-commits] [mlir] f616a63 - [mlir] Use value instead of getValue

Kazu Hirata llvmlistbot at llvm.org
Sun Aug 7 11:59:42 PDT 2022


Author: Kazu Hirata
Date: 2022-08-07T11:59:37-07:00
New Revision: f616a63db25579d51bc11763535aaf371b075827

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

LOG: [mlir] Use value instead of getValue

Added: 
    

Modified: 
    mlir/include/mlir/IR/OpDefinition.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/OpDefinition.h b/mlir/include/mlir/IR/OpDefinition.h
index 4c6b6fa489b8..e2aa3bfce43d 100644
--- a/mlir/include/mlir/IR/OpDefinition.h
+++ b/mlir/include/mlir/IR/OpDefinition.h
@@ -50,7 +50,7 @@ class OptionalParseResult {
   /// Access the internal ParseResult value.
   ParseResult value() const { return impl.value(); }
   ParseResult getValue() const { return impl.value(); }
-  ParseResult operator*() const { return getValue(); }
+  ParseResult operator*() const { return value(); }
 
 private:
   Optional<ParseResult> impl;


        


More information about the Mlir-commits mailing list