[ObjectYAML] Use std::size (NFC)
std::size, introduced in C++17, allows us to directly obtain the number of elements of an array. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
Loading
Please sign in to comment