[all-commits] [llvm/llvm-project] 02f67c: Use llvm::endianness::{big, little, native} (NFC)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Fri Oct 13 23:16:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 02f67c097de12dc9f6c97a68d9e180af79a2483b
https://github.com/llvm/llvm-project/commit/02f67c097de12dc9f6c97a68d9e180af79a2483b
Author: Kazu Hirata <kazu at google.com>
Date: 2023-10-13 (Fri, 13 Oct 2023)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/GlobalModuleIndex.cpp
M clang/lib/Serialization/MultiOnDiskHashTable.h
M llvm/include/llvm/Bitstream/BitstreamWriter.h
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/Support/Endian.h
M llvm/include/llvm/Support/MD5.h
M llvm/include/llvm/Support/OnDiskHashTable.h
M llvm/lib/ExecutionEngine/JITLink/aarch32.cpp
M llvm/lib/MC/MCPseudoProbe.cpp
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
M llvm/lib/ProfileData/RawMemProfReader.cpp
M llvm/lib/ProfileData/SampleProfReader.cpp
M llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
M llvm/unittests/DebugInfo/PDB/HashTableTest.cpp
M llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp
M llvm/unittests/ExecutionEngine/JITLink/AArch32Tests.cpp
M llvm/unittests/Support/BinaryStreamTest.cpp
M llvm/unittests/Support/EndianStreamTest.cpp
M llvm/unittests/Support/EndianTest.cpp
Log Message:
-----------
Use llvm::endianness::{big,little,native} (NFC)
Note that llvm::support::endianness has been renamed to
llvm::endianness while becoming an enum class. This patch replaces
{big,little,native} with llvm::endianness::{big,little,native}.
This patch completes the migration to llvm::endianness and
llvm::endianness::{big,little,native}. I'll post a separate patch to
remove the migration helpers in llvm/Support/Endian.h:
using endianness = llvm::endianness;
constexpr llvm::endianness big = llvm::endianness::big;
constexpr llvm::endianness little = llvm::endianness::little;
constexpr llvm::endianness native = llvm::endianness::native;
More information about the All-commits
mailing list