Skip to content

Commit 3dad29b

Browse files
[LTO] Remove unused includes (NFC) (#108110)
clangd reports these as unused headers. My manual inspection agrees with the findings.
1 parent e67a666 commit 3dad29b

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

llvm/include/llvm/LTO/LTO.h

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

2020
#include "llvm/ADT/DenseMap.h"
2121
#include "llvm/ADT/MapVector.h"
22-
#include "llvm/ADT/StringMap.h"
2322
#include "llvm/Bitcode/BitcodeReader.h"
2423
#include "llvm/IR/ModuleSummaryIndex.h"
2524
#include "llvm/LTO/Config.h"

llvm/include/llvm/Transforms/IPO/FunctionImport.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
#include "llvm/IR/PassManager.h"
1818
#include "llvm/Support/Error.h"
1919
#include <functional>
20-
#include <map>
2120
#include <memory>
22-
#include <string>
2321
#include <system_error>
2422
#include <utility>
2523

llvm/lib/LTO/LTO.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include "llvm/Support/CommandLine.h"
3939
#include "llvm/Support/Error.h"
4040
#include "llvm/Support/FileSystem.h"
41-
#include "llvm/Support/ManagedStatic.h"
4241
#include "llvm/Support/MemoryBuffer.h"
4342
#include "llvm/Support/Path.h"
4443
#include "llvm/Support/SHA1.h"

llvm/lib/Transforms/IPO/FunctionImport.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
#include "llvm/Transforms/Utils/ValueMapper.h"
4747
#include <cassert>
4848
#include <memory>
49-
#include <set>
5049
#include <string>
5150
#include <system_error>
5251
#include <tuple>

0 commit comments

Comments
 (0)