[llvm] [ADT] Refactor MapVector::insert, try_emplace, and operator[] (NFC) (PR #155205)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 07:24:09 PDT 2025
================
@@ -51,6 +44,28 @@ class MapVector {
using reverse_iterator = typename VectorType::reverse_iterator;
using const_reverse_iterator = typename VectorType::const_reverse_iterator;
+private:
+ MapType Map;
+ VectorType Vector;
----------------
kuhar wrote:
Maybe move the private section to the end of the class?
https://github.com/llvm/llvm-project/pull/155205
More information about the llvm-commits
mailing list