[all-commits] [llvm/llvm-project] dc8446: [ADT][NFC] Use `size_t` type for index in `indexed...

Vladislav Vinogradov via All-commits all-commits at lists.llvm.org
Wed Mar 10 00:42:01 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc8446c2a0882a0779a12df72e968afe9161a339
      https://github.com/llvm/llvm-project/commit/dc8446c2a0882a0779a12df72e968afe9161a339
  Author: Vladislav Vinogradov <vlad.vinogradov at intel.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

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

  Log Message:
  -----------
  [ADT][NFC] Use `size_t` type for index in `indexed_accessor_range`

It makes it consistent with `size()` method return type and with
STL-like containers API.

Reviewed By: rriddle

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




More information about the All-commits mailing list