[ADT] Deprecate Any::hasValue
authorKazu Hirata <kazu@google.com>
Sat, 20 Aug 2022 16:34:35 +0000 (09:34 -0700)
committerKazu Hirata <kazu@google.com>
Sat, 20 Aug 2022 16:34:35 +0000 (09:34 -0700)
commitabb6271d809b37d3c3318894d697d5820032bec8
tree3664f017adb246b4bd18af5ca0ddcdd4de3d4ee8
parentfc4d3a1109cde38d64583e21852f83e03aa92a73
[ADT] Deprecate Any::hasValue

This patch deprecates Any::hasValue as I've migrated all known uses of
it to Any::has_value.  I'm planning to remove the deprecated method in
3 months or so.

Differential Revision: https://reviews.llvm.org/D132304
llvm/include/llvm/ADT/Any.h