llvm-project/llvm/lib/Target/Mips/MCTargetDesc
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
MipsABIFlagsSection.cpp
MipsABIFlagsSection.h MipsABIFlagsSection.h - replace unnecessary StringRef include with forward declaration 2022-02-03 16:02:46 +00:00
MipsABIInfo.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
MipsABIInfo.h
MipsAsmBackend.cpp [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
MipsAsmBackend.h
MipsBaseInfo.h
MipsELFObjectWriter.cpp [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:24:15 -07:00
MipsELFStreamer.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
MipsELFStreamer.h [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
MipsFixupKinds.h
MipsInstPrinter.cpp [MipsInstPrinter] Introduce markup tags emission 2022-09-01 20:52:09 -07:00
MipsInstPrinter.h [llvm-objdump] Implemented PrintBranchImmAsAddress for MIPS 2022-04-15 23:48:38 +02:00
MipsMCAsmInfo.cpp
MipsMCAsmInfo.h
MipsMCCodeEmitter.cpp Fix misc uses of "long" variables to use "int64_t". 2022-07-27 09:47:19 -07:00
MipsMCCodeEmitter.h
MipsMCExpr.cpp
MipsMCExpr.h
MipsMCNaCl.h
MipsMCTargetDesc.cpp [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
MipsMCTargetDesc.h [CodeGen] Move instruction predicate verification to emitInstruction 2022-07-14 09:33:28 +01:00
MipsNaClELFStreamer.cpp
MipsOptionRecord.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
MipsTargetStreamer.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00