[all-commits] [llvm/llvm-project] 5758c8: [ADT] Mark `llvm::array_lengthof` as deprecated

Joe Loser via All-commits all-commits at lists.llvm.org
Fri Sep 9 14:32:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5758c824dab4851fd061201483987b338c051417
      https://github.com/llvm/llvm-project/commit/5758c824dab4851fd061201483987b338c051417
  Author: Joe Loser <joeloser at fastmail.com>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

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

  Log Message:
  -----------
  [ADT] Mark `llvm::array_lengthof` as deprecated

As a follow-up of 5e96cea1db0623a833d5376c9ea2ce4528771f97, mark
`llvm::array_lengthof` as deprecated in favor of using `std::size` function
directly.

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




More information about the All-commits mailing list