[llvm] [ADT] Move llvm::identity into IndexedMap (NFC) (PR #164568)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 22 13:04:06 PDT 2025
================
@@ -22,12 +22,22 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/identity.h"
#include <cassert>
namespace llvm {
-template <typename T, typename ToIndexT = identity<unsigned>> class IndexedMap {
+namespace detail {
+template <class Ty> struct IdentityIndex {
+ using is_transparent = void;
----------------
kuhar wrote:
Is this used anywhere? If not, maybe delete?
https://github.com/llvm/llvm-project/pull/164568
More information about the llvm-commits
mailing list