[ADT] Remove deprecated Any::hasValue
authorKazu Hirata <kazu@google.com>
Sat, 19 Nov 2022 21:45:27 +0000 (13:45 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 19 Nov 2022 21:45:27 +0000 (13:45 -0800)
Note that I deprecated Any::hasValue on August 20, 2022 in commit
abb6271d809b37d3c3318894d697d5820032bec8.

llvm/include/llvm/ADT/Any.h

index 7147359..0e2f587 100644 (file)
@@ -102,8 +102,6 @@ public:
     return *this;
   }
 
-  LLVM_DEPRECATED("Use has_value instead.", "has_value")
-  bool hasValue() const { return !!Storage; }
   bool has_value() const { return !!Storage; }
 
   void reset() { Storage.reset(); }