[all-commits] [llvm/llvm-project] 28a0b9: Rename and fix ValueMap::resize to reserve

Pedro Olsen Ferreira via All-commits all-commits at lists.llvm.org
Thu May 12 06:01:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28a0b94d2221755aec6ab4e1c7cc3394dcef5053
      https://github.com/llvm/llvm-project/commit/28a0b94d2221755aec6ab4e1c7cc3394dcef5053
  Author: Pedro Olsen Ferreira <pedro.olsenferreira at arm.com>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M llvm/include/llvm/IR/ValueMap.h

  Log Message:
  -----------
  Rename and fix ValueMap::resize to reserve

The underlying map type (DenseMap) has had its resize() function
renamed to reserve() as part of
c04fc7a60ff4ea4610ea157be006c9771224a7b6 (SVN 264026).

This is only visible when the member function is called, as it is
template type name dependent.

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




More information about the All-commits mailing list