[TableGen] Use std::size (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 18:47:22 +0000 (10:47 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 18:47:22 +0000 (10:47 -0800)
commita677afd3c132dd024fdf81c1bb0b256176895112
tree9ed8bdbc5667a08ca8e516c0a2253ffc0af6565b
parent49aca00d63e14df8bc68fc4329e6cbc9c9805eb8
[TableGen] Use std::size (NFC)

std::size, introduced in C++17, allows us to directly obtain the
number of elements of an array.
llvm/utils/TableGen/OptParserEmitter.cpp