[llvm] 6f35a6a - [ADT] Remove an obsolete forward declaration (NFC) (#156391)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 1 23:12:03 PDT 2025


Author: Kazu Hirata
Date: 2025-09-01T23:11:59-07:00
New Revision: 6f35a6a088e1c36c6780b3757a8117d23b5f1b92

URL: https://github.com/llvm/llvm-project/commit/6f35a6a088e1c36c6780b3757a8117d23b5f1b92
DIFF: https://github.com/llvm/llvm-project/commit/6f35a6a088e1c36c6780b3757a8117d23b5f1b92.diff

LOG: [ADT] Remove an obsolete forward declaration (NFC) (#156391)

We just removed CastInfoPointerUnionImpl in:

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

This patch removes the obsolete forward declaration.

Added: 
    

Modified: 
    llvm/include/llvm/ADT/PointerUnion.h

Removed: 
    


################################################################################
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.
 ///


        


More information about the llvm-commits mailing list