Skip to content

Commit d44ea71

Browse files
[Support] Remove unused includes (NFC) (#116752)
Identified with misc-include-cleaner.
1 parent 12cfa41 commit d44ea71

17 files changed

+0
-23
lines changed

llvm/lib/Support/ARMBuildAttrs.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "llvm/Support/ARMBuildAttributes.h"
10-
#include "llvm/ADT/Twine.h"
11-
#include "llvm/Support/LEB128.h"
12-
#include <iomanip>
13-
#include <sstream>
1410

1511
using namespace llvm;
1612

llvm/lib/Support/ConvertUTFWrapper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "llvm/ADT/StringRef.h"
1111
#include "llvm/Support/ConvertUTF.h"
1212
#include "llvm/Support/ErrorHandling.h"
13-
#include "llvm/Support/SwapByteOrder.h"
1413
#include <string>
1514
#include <vector>
1615

llvm/lib/Support/DAGDeltaAlgorithm.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include "llvm/Support/Debug.h"
3636
#include "llvm/Support/Format.h"
3737
#include "llvm/Support/raw_ostream.h"
38-
#include <algorithm>
3938
#include <cassert>
4039
#include <map>
4140
using namespace llvm;

llvm/lib/Support/InitLLVM.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@
88

99
#include "llvm/Support/InitLLVM.h"
1010
#include "llvm/ADT/StringRef.h"
11-
#include "llvm/Support/AutoConvert.h"
1211
#include "llvm/Support/Error.h"
1312
#include "llvm/Support/ErrorHandling.h"
1413
#include "llvm/Support/ManagedStatic.h"
15-
#include "llvm/Support/PrettyStackTrace.h"
1614
#include "llvm/Support/Signals.h"
17-
#include "llvm/Support/SwapByteOrder.h"
1815

1916
#ifdef _WIN32
2017
#include "llvm/Support/Windows/WindowsSupport.h"

llvm/lib/Support/LockFileManager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include <sys/stat.h>
2626
#include <sys/types.h>
2727
#include <system_error>
28-
#include <thread>
2928
#include <tuple>
3029

3130
#ifdef _WIN32

llvm/lib/Support/MSP430AttributeParser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include "llvm/Support/MSP430AttributeParser.h"
1010
#include "llvm/ADT/ArrayRef.h"
11-
#include "llvm/Support/ErrorHandling.h"
1211

1312
using namespace llvm;
1413
using namespace llvm::MSP430Attrs;

llvm/lib/Support/MemoryBuffer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "llvm/Support/Error.h"
2020
#include "llvm/Support/ErrorHandling.h"
2121
#include "llvm/Support/FileSystem.h"
22-
#include "llvm/Support/MathExtras.h"
2322
#include "llvm/Support/Process.h"
2423
#include "llvm/Support/Program.h"
2524
#include "llvm/Support/SmallVectorMemoryBuffer.h"

llvm/lib/Support/NativeFormatting.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "llvm/ADT/SmallString.h"
1212
#include "llvm/ADT/StringExtras.h"
1313
#include "llvm/Support/Format.h"
14-
#include "llvm/Support/MathExtras.h"
1514
#include "llvm/Support/raw_ostream.h"
1615

1716
#include <cmath>

llvm/lib/Support/Path.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include "llvm/ADT/StringExtras.h"
1717
#include "llvm/Config/config.h"
1818
#include "llvm/Config/llvm-config.h"
19-
#include "llvm/Support/Endian.h"
2019
#include "llvm/Support/Errc.h"
2120
#include "llvm/Support/ErrorHandling.h"
2221
#include "llvm/Support/FileSystem.h"

llvm/lib/Support/Process.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "llvm/Support/CrashRecoveryContext.h"
1919
#include "llvm/Support/FileSystem.h"
2020
#include "llvm/Support/Path.h"
21-
#include "llvm/Support/Program.h"
2221

2322
#include <optional>
2423
#include <stdlib.h> // for _Exit

llvm/lib/Support/RWMutex.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "llvm/Support/RWMutex.h"
1414
#include "llvm/Config/config.h"
1515
#include "llvm/Config/llvm-config.h" // for LLVM_ENABLE_THREADS
16-
#include "llvm/Support/Allocator.h"
1716

1817
#if defined(LLVM_USE_RW_MUTEX_IMPL)
1918
using namespace llvm;

llvm/lib/Support/SuffixTreeNode.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
//===----------------------------------------------------------------------===//
1313

1414
#include "llvm/Support/SuffixTreeNode.h"
15-
#include "llvm/Support/Casting.h"
1615

1716
using namespace llvm;
1817

llvm/lib/Support/Threading.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
#include "llvm/Config/llvm-config.h"
1717

1818
#include <cassert>
19-
#include <errno.h>
2019
#include <optional>
2120
#include <stdlib.h>
22-
#include <string.h>
2321

2422
using namespace llvm;
2523

llvm/lib/Support/VirtualFileSystem.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include "llvm/Support/SourceMgr.h"
3838
#include "llvm/Support/YAMLParser.h"
3939
#include "llvm/Support/raw_ostream.h"
40-
#include <algorithm>
4140
#include <atomic>
4241
#include <cassert>
4342
#include <cstdint>

llvm/lib/Support/YAMLTraits.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "llvm/Support/VersionTuple.h"
2222
#include "llvm/Support/YAMLParser.h"
2323
#include "llvm/Support/raw_ostream.h"
24-
#include <algorithm>
2524
#include <cassert>
2625
#include <cstdint>
2726
#include <cstring>

llvm/lib/Support/raw_ostream.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "llvm/Support/raw_ostream.h"
1414
#include "llvm/ADT/StringExtras.h"
1515
#include "llvm/Config/config.h"
16-
#include "llvm/Support/AutoConvert.h"
1716
#include "llvm/Support/Compiler.h"
1817
#include "llvm/Support/Duration.h"
1918
#include "llvm/Support/ErrorHandling.h"

llvm/lib/Support/raw_socket_stream.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include <atomic>
2020
#include <fcntl.h>
2121
#include <functional>
22-
#include <thread>
2322

2423
#ifndef _WIN32
2524
#include <poll.h>

0 commit comments

Comments
 (0)