diff options
| author | Kazu Hirata <kazu@google.com> | 2025-10-22 17:31:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 17:31:44 -0700 |
| commit | 2d0328a47377fb6e8be4d76982072dcb607beb58 (patch) | |
| tree | 61f372b78c28a8fde0f53ed806c3ed1032639263 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 11a24d6b438cfb0aa550f0f4613c6ebd666bbbd2 (diff) | |
| download | llvm-2d0328a47377fb6e8be4d76982072dcb607beb58.zip llvm-2d0328a47377fb6e8be4d76982072dcb607beb58.tar.gz llvm-2d0328a47377fb6e8be4d76982072dcb607beb58.tar.bz2 | |
[ADT] Move llvm::identity into IndexedMap (NFC) (#164568)
This patch moves llvm::identity to IndexedMap for two reasons:
- llvm::identity is used only IndexedMap.
- llvm::identity is not suitable for general use as it is not quite
the same as std::identity despite the comments in identity.h.
Also, this patch renames the class to IdentityIndex and places it in
the "detail" namespace.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
