llvm-project/llvm/unittests/ProfileData
Joe Loser 5e96cea1db [llvm] 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/D133429
2022-09-08 09:01:53 -06:00
..
CMakeLists.txt ProfileDataTests: fix BUILD_SHARED_LIBS build 2022-02-09 12:27:13 +03:00
CoverageMappingTest.cpp [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
InstrProfDataTest.cpp
InstrProfTest.cpp [llvm-profdata] Improve profile supplementation 2022-08-29 16:50:42 -07:00
MemProfTest.cpp [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
SampleProfTest.cpp [NFC] ProfileSummary: const most of the fields. 2021-10-29 08:36:08 -07:00