diff --git a/llvm/include/llvm/ADT/Any.h b/llvm/include/llvm/ADT/Any.h index 7486491914ef7..89b4d9e5e4052 100644 --- a/llvm/include/llvm/ADT/Any.h +++ b/llvm/include/llvm/ADT/Any.h @@ -135,12 +135,6 @@ class LLVM_EXTERNAL_VISIBILITY Any { // See also https://github.com/llvm/llvm-project/issues/62270 template char Any::TypeId::Id = 1; -template -LLVM_DEPRECATED("Use any_cast(Any*) != nullptr instead", "any_cast") -bool any_isa(const Any &Value) { - return Value.isa(); -} - template T any_cast(const Any &Value) { assert(Value.isa() && "Bad any cast!"); return static_cast(*any_cast>(&Value));