[all-commits] [llvm/llvm-project] 589725: [llvm] Use std::size (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sat Nov 26 13:47:46 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 589725f6e803d77adedc3fb5a1cbeaddb99f439a
https://github.com/llvm/llvm-project/commit/589725f6e803d77adedc3fb5a1cbeaddb99f439a
Author: Kazu Hirata <kazu at google.com>
Date: 2022-11-26 (Sat, 26 Nov 2022)
Changed paths:
M llvm/lib/IR/Attributes.cpp
M llvm/lib/IR/ModuleSummaryIndex.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
M llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
M llvm/lib/Target/Lanai/LanaiISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCCallingConv.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
M llvm/lib/Target/X86/X86CallingConv.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/XRay/InstrumentationMap.cpp
M llvm/tools/llvm-exegesis/lib/X86/Target.cpp
M llvm/tools/llvm-readobj/COFFDumper.cpp
M llvm/unittests/ADT/SimpleIListTest.cpp
M llvm/unittests/BinaryFormat/TestFileMagic.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
M llvm/unittests/Support/CommandLineTest.cpp
M llvm/unittests/TextAPI/TextStubV1Tests.cpp
M llvm/unittests/TextAPI/TextStubV2Tests.cpp
M llvm/unittests/TextAPI/TextStubV3Tests.cpp
M llvm/unittests/TextAPI/TextStubV4Tests.cpp
Log Message:
-----------
[llvm] Use std::size (NFC)
std::size, introduced in C++17, allows us to directly obtain the
number of elements of an array.
More information about the All-commits
mailing list