[PATCH] D113242: Adding a key_type definition to MapVector
    Duncan P. N. Exon Smith via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov 16 17:40:52 PST 2021
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd00256bac07e: ADT: Adding a key_type definition to MapVector (authored by kevcadieux, committed by dexonsmith).
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113242/new/
https://reviews.llvm.org/D113242
Files:
  llvm/include/llvm/ADT/MapVector.h
Index: llvm/include/llvm/ADT/MapVector.h
===================================================================
--- llvm/include/llvm/ADT/MapVector.h
+++ llvm/include/llvm/ADT/MapVector.h
@@ -43,6 +43,7 @@
       "The mapped_type of the specified Map must be an integral type");
 
 public:
+  using key_type = KeyT;
   using value_type = typename VectorType::value_type;
   using size_type = typename VectorType::size_type;
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113242.387801.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211117/beb6c549/attachment.bin>
    
    
More information about the llvm-commits
mailing list