[mlir] Remove deprecated methods in OptionalParseResult
authorKazu Hirata <kazu@google.com>
Sat, 19 Nov 2022 20:54:05 +0000 (12:54 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 19 Nov 2022 20:54:05 +0000 (12:54 -0800)
Note that I deprecated these methods on August 12, 2022 in commit
commit 5c4674d67b06c5b4a845f26a614fc453a6bfb1f6.

mlir/include/mlir/IR/OpDefinition.h

index 10bb720..973cae3 100644 (file)
@@ -45,15 +45,9 @@ public:
 
   /// Returns true if we contain a valid ParseResult value.
   bool has_value() const { return impl.has_value(); }
-  LLVM_DEPRECATED("Use has_value instead", "has_value") bool hasValue() const {
-    return impl.has_value();
-  }
 
   /// Access the internal ParseResult value.
   ParseResult value() const { return impl.value(); }
-  LLVM_DEPRECATED("Use value instead", "value") ParseResult getValue() const {
-    return impl.value();
-  }
   ParseResult operator*() const { return value(); }
 
 private: