[ADT] Remove deprecated `llvm::array_lengthof`
authorJoe Loser <joeloser@fastmail.com>
Sun, 20 Nov 2022 05:01:29 +0000 (22:01 -0700)
committerJoe Loser <joeloser@fastmail.com>
Sun, 20 Nov 2022 18:56:30 +0000 (11:56 -0700)
commit35df882274e9fb9d1fb67d1b39865523281392df
tree5d26314788184b9c7fbd981dc74a5edcd8d14d71
parent111c29802161daa493a926b621341d88f29d19c4
[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
llvm/include/llvm/ADT/STLArrayExtras.h [deleted file]