[llvm] [ADT] Remove an obsolete forward declaration (NFC) (PR #156391)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 1 19:36:24 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-adt
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
We just removed CastInfoPointerUnionImpl in:
commit 2d216a94f3c84037cdfb3fa5def9efb020a88537
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
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.
///
``````````
</details>
https://github.com/llvm/llvm-project/pull/156391
More information about the llvm-commits
mailing list