From c402694102f34052b6c63dcc5137986ee6edefa2 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 19 Nov 2022 12:54:05 -0800 Subject: [PATCH] [mlir] Remove deprecated methods in OptionalParseResult Note that I deprecated these methods on August 12, 2022 in commit commit 5c4674d67b06c5b4a845f26a614fc453a6bfb1f6. --- mlir/include/mlir/IR/OpDefinition.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mlir/include/mlir/IR/OpDefinition.h b/mlir/include/mlir/IR/OpDefinition.h index 10bb720..973cae3 100644 --- a/mlir/include/mlir/IR/OpDefinition.h +++ b/mlir/include/mlir/IR/OpDefinition.h @@ -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: -- 2.7.4