[all-commits] [llvm/llvm-project] d00256: ADT: Adding a key_type definition to MapVector

Kevin Cadieux via All-commits all-commits at lists.llvm.org
Tue Nov 16 17:40:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d00256bac07e56fe7ccac2b16fb4e52267616e8e
      https://github.com/llvm/llvm-project/commit/d00256bac07e56fe7ccac2b16fb4e52267616e8e
  Author: Kevin Cadieux <kevca at microsoft.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M llvm/include/llvm/ADT/MapVector.h

  Log Message:
  -----------
  ADT: Adding a key_type definition to MapVector

The key_type type definition for map containers is useful in some
generic, template-based programming scenarios. The addition of key_type
to MapVector is consistent with other map types like DenseMap.

Differential Revision: https://reviews.llvm.org/D113242




More information about the All-commits mailing list