[all-commits] [llvm/llvm-project] 3c3165: [ADT] Add initializer_list constructor to SmallDen...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Wed Jul 21 06:32:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c3165cfa0a4ff4f6c687b4ab4c141803d37009d
      https://github.com/llvm/llvm-project/commit/3c3165cfa0a4ff4f6c687b4ab4c141803d37009d
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M llvm/include/llvm/ADT/DenseMap.h
    M llvm/unittests/ADT/DenseMapTest.cpp

  Log Message:
  -----------
  [ADT] Add initializer_list constructor to SmallDenseMap

Make it easier to initialize small maps inline. Note that DenseMap already has an initializer_list constructor.

Reviewed By: dblaikie

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




More information about the All-commits mailing list