aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJoe Loser <joeloser@fastmail.com>2022-09-06 18:01:39 -0600
committerJoe Loser <joeloser@fastmail.com>2022-09-07 09:54:51 -0600
commite5a8f50ab160c56a316e79f46e787afa15c1cbcc (patch)
tree148c606045a69b8d7bb3f26a0524a672a25fbe49 /clang/lib/CodeGen/CodeGenFunction.cpp
parent44bbf20965d2c1e00bb805343ad80dbb7758bf3d (diff)
downloadllvm-e5a8f50ab160c56a316e79f46e787afa15c1cbcc.zip
llvm-e5a8f50ab160c56a316e79f46e787afa15c1cbcc.tar.gz
llvm-e5a8f50ab160c56a316e79f46e787afa15c1cbcc.tar.bz2
[mlir] Use std::size instead of llvm::array_lengthof
LLVM contains a helpful function for getting the size of a C-style array: `llvm::array_lengthof`. This is useful prior to C++17, but not as helpful for C++17 or later: `std::size` already has support for C-style arrays. Change call sites to use `std::size` instead. Differential Revision: https://reviews.llvm.org/D133387
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions