Skip to content

Conversation

kazutakahirata
Copy link
Contributor

We just removed CastInfoPointerUnionImpl in:

commit 2d216a9
Author: Kazu Hirata kazu@google.com
Date: Mon Sep 1 08:04:49 2025 -0700

This patch removes the obsolete forward declaration.

We just removed CastInfoPointerUnionImpl in:

  commit 2d216a9
  Author: Kazu Hirata <kazu@google.com>
  Date:   Mon Sep 1 08:04:49 2025 -0700

This patch removes the obsolete forward declaration.
@llvmbot
Copy link
Member

llvmbot commented Sep 2, 2025

@llvm/pr-subscribers-llvm-adt

Author: Kazu Hirata (kazutakahirata)

Changes

We just removed CastInfoPointerUnionImpl in:

commit 2d216a9
Author: Kazu Hirata <kazu@google.com>
Date: Mon Sep 1 08:04:49 2025 -0700

This patch removes the obsolete forward declaration.


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

1 Files Affected:

  • (modified) llvm/include/llvm/ADT/PointerUnion.h (-3)
diff --git a/llvm/include/llvm/ADT/PointerUnion.h b/llvm/include/llvm/ADT/PointerUnion.h
index 24caa960c718d..ca0e1ed3d49d1 100644
--- a/llvm/include/llvm/ADT/PointerUnion.h
+++ b/llvm/include/llvm/ADT/PointerUnion.h
@@ -88,9 +88,6 @@ namespace pointer_union_detail {
   };
 }
 
-// This is a forward declaration of CastInfoPointerUnionImpl
-// Refer to its definition below for further details
-template <typename... PTs> struct CastInfoPointerUnionImpl;
 /// A discriminated union of two or more pointer types, with the discriminator
 /// in the low bit of the pointer.
 ///

@kazutakahirata kazutakahirata merged commit 6f35a6a into llvm:main Sep 2, 2025
11 checks passed
@kazutakahirata kazutakahirata deleted the cleanup_20250901_PointerUnion_CastInfoPointerUnionImpl branch September 2, 2025 06:13
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