llvm-project/llvm/tools/llvm-readobj
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
..
ARMEHABIPrinter.h [llvm] Add JSONScopedPrinter class 2021-12-10 18:57:33 +00:00
ARMWinEHPrinter.cpp [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
ARMWinEHPrinter.h [llvm-readobj] Improve printing of Windows ARM packed unwind info 2022-05-18 21:33:08 +03:00
CMakeLists.txt [llvm-readobj] Switch command line parsing from llvm::cl to OptTable 2021-07-12 10:14:42 -07:00
COFFDumper.cpp [ARM64EC 1/?] Add parsing support to llvm-objdump/llvm-readobj. 2022-09-05 12:25:08 -07:00
COFFImportDumper.cpp
DwarfCFIEHPrinter.h [DWARF] Don't process .debug_info relocations for DWO Context 2021-08-02 10:41:47 -07:00
ELFDumper.cpp [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
MachODumper.cpp [llvm-readobj] Support non 64bit platforms too 2022-03-31 15:40:12 -04:00
ObjDumper.cpp [llvm-readobj] Add JSONScopedPrinter to llvm-readelf 2021-12-10 23:34:27 +00:00
ObjDumper.h better syntax 2022-03-31 15:25:43 -04:00
Opts.td Reland "[llvm-readobj][MachO] Add option to sort the symbol table before dumping (MachO only, for now)." 2022-03-31 14:21:41 -04:00
StackMapPrinter.h
WasmDumper.cpp [WebAssembly] Second phase of implemented extended const proposal 2022-03-14 08:55:47 -07:00
Win64EHDumper.cpp [llvm-readobj] Delete redundant 'static' from namespace scope 'static const'. NFC 2021-10-18 22:21:54 -07:00
Win64EHDumper.h
WindowsResourceDumper.cpp
WindowsResourceDumper.h
XCOFFDumper.cpp [AIX][XCOFF] address post-commit review comments of patch https://reviews.llvm.org/D82549 2022-03-28 15:05:41 -04:00
llvm-readobj.cpp Reland "[llvm-readobj][MachO] Add option to sort the symbol table before dumping (MachO only, for now)." 2022-03-31 14:21:41 -04:00
llvm-readobj.h Reland "[llvm-readobj][MachO] Add option to sort the symbol table before dumping (MachO only, for now)." 2022-03-31 14:21:41 -04:00