Skip to content

Commit 1f12223

Browse files
[llvm] Stop including Endian.h (NFC)
These files satisfy all of the following: - misc-include-cleaner indicates that these files do not need Endian.h. - They do not mention "endian" anywhere. - They do not include any *.inc or *.def, which could need llvm::support::endian.
1 parent 0b7ae41 commit 1f12223

File tree

10 files changed

+0
-10
lines changed

10 files changed

+0
-10
lines changed

llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "llvm/ADT/ArrayRef.h"
1111
#include "llvm/DebugInfo/MSF/MSFCommon.h"
1212
#include "llvm/Support/BinaryStreamWriter.h"
13-
#include "llvm/Support/Endian.h"
1413
#include "llvm/Support/Error.h"
1514
#include "llvm/Support/MathExtras.h"
1615
#include <algorithm>

llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include "llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h"
1010
#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
1111
#include "llvm/Support/BinaryStreamReader.h"
12-
#include "llvm/Support/Endian.h"
1312
#include "llvm/Support/Error.h"
1413
#include "llvm/Support/MathExtras.h"
1514
#include <cstdint>

llvm/lib/DebugInfo/PDB/Native/InjectedSourceStream.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include "llvm/DebugInfo/PDB/Native/RawConstants.h"
1515
#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
1616
#include "llvm/Support/BinaryStreamReader.h"
17-
#include "llvm/Support/Endian.h"
1817

1918
using namespace llvm;
2019
using namespace llvm::msf;

llvm/lib/DebugInfo/PDB/Native/PublicsStream.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "llvm/DebugInfo/PDB/Native/RawError.h"
2727
#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
2828
#include "llvm/Support/BinaryStreamReader.h"
29-
#include "llvm/Support/Endian.h"
3029
#include "llvm/Support/Error.h"
3130
#include <cstdint>
3231

llvm/lib/DebugInfo/PDB/Native/SymbolStream.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include "llvm/DebugInfo/PDB/Native/SymbolStream.h"
1010

1111
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
12-
#include "llvm/Support/Endian.h"
1312

1413
using namespace llvm;
1514
using namespace llvm::msf;

llvm/lib/ExecutionEngine/JITLink/COFF.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "llvm/BinaryFormat/COFF.h"
1616
#include "llvm/ExecutionEngine/JITLink/COFF_x86_64.h"
1717
#include "llvm/Object/COFF.h"
18-
#include "llvm/Support/Endian.h"
1918
#include "llvm/Support/Format.h"
2019
#include "llvm/Support/MemoryBuffer.h"
2120
#include <cstring>

llvm/lib/ExecutionEngine/JITLink/ELF.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "llvm/ExecutionEngine/JITLink/ELF_riscv.h"
2222
#include "llvm/ExecutionEngine/JITLink/ELF_x86_64.h"
2323
#include "llvm/Object/ELF.h"
24-
#include "llvm/Support/Endian.h"
2524
#include "llvm/Support/Format.h"
2625
#include "llvm/Support/MemoryBuffer.h"
2726
#include <cstring>

llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include "llvm/ExecutionEngine/JITLink/TableManager.h"
1717
#include "llvm/ExecutionEngine/JITLink/x86_64.h"
1818
#include "llvm/Object/ELFObjectFile.h"
19-
#include "llvm/Support/Endian.h"
2019

2120
#include "DefineExternalSectionStartAndEndSymbols.h"
2221
#include "EHFrameSupportImpl.h"

llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include "llvm/MC/MCSymbolWasm.h"
3333
#include "llvm/MC/TargetRegistry.h"
3434
#include "llvm/Support/Compiler.h"
35-
#include "llvm/Support/Endian.h"
3635
#include "llvm/Support/SourceMgr.h"
3736

3837
using namespace llvm;

llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
1616
#include "llvm/DebugInfo/DWARF/DWARFExpression.h"
1717
#include "llvm/Object/ObjectFile.h"
18-
#include "llvm/Support/Endian.h"
1918
#include <memory>
2019
#include <vector>
2120

0 commit comments

Comments
 (0)