Skip to content

Conversation

@zygoloid
Copy link
Collaborator

Looks like this was missed by #65636, which removed the definition of this function.

Looks like this was missed by llvm#65636, which removed the definition of this function.
@llvmbot
Copy link
Member

llvmbot commented Jul 30, 2025

@llvm/pr-subscribers-llvm-adt

Author: Richard Smith (zygoloid)

Changes

Looks like this was missed by #65636, which removed the definition of this function.


Full diff: https://github.com/llvm/llvm-project/pull/151395.diff

1 Files Affected:

  • (modified) llvm/include/llvm/ADT/Any.h (-1)
diff --git a/llvm/include/llvm/ADT/Any.h b/llvm/include/llvm/ADT/Any.h
index 88dbce96c2c3d..a29aaa3439715 100644
--- a/llvm/include/llvm/ADT/Any.h
+++ b/llvm/include/llvm/ADT/Any.h
@@ -119,7 +119,6 @@ class LLVM_ABI Any {
   template <class T> friend T any_cast(Any &&Value);
   template <class T> friend const T *any_cast(const Any *Value);
   template <class T> friend T *any_cast(Any *Value);
-  template <typename T> friend bool any_isa(const Any &Value);
 
   std::unique_ptr<StorageBase> Storage;
 };

@zygoloid zygoloid merged commit 2e36afc into llvm:main Jul 30, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants