[all-commits] [llvm/llvm-project] 35df88: [ADT] Remove deprecated `llvm::array_lengthof`

Joe Loser via All-commits all-commits at lists.llvm.org
Sun Nov 20 10:56:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35df882274e9fb9d1fb67d1b39865523281392df
      https://github.com/llvm/llvm-project/commit/35df882274e9fb9d1fb67d1b39865523281392df
  Author: Joe Loser <joeloser at fastmail.com>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

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

  Log Message:
  -----------
  [ADT] Remove deprecated `llvm::array_lengthof`

`llvm::array_lengthof` was marked deprecated a bit over two months ago in
5758c824dab4851fd061201483987b338c051417.  Now, finally remove it.  Since this
function was the only one in `STLArrayExtras.h`, get rid of the whole header.

D118342 (2022-01) moved the function to `STLArrayExtras.h`. This function should
have very few users now (MaskRay made some downstream inspection in
https://reviews.llvm.org/D133502#3777981). D133502 deprecated the function.

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




More information about the All-commits mailing list