Skip to content

Commit 6e0ee6e

Browse files
author
Akash Agrawal
committed
[LLVM] Cleanup - Remove duplicate #include headers from the files of
llvm-project/llvm dir Change-Id: Ic8ab4160f22730fb7eef6ddc89e04a6b905518ff
1 parent b9a7098 commit 6e0ee6e

File tree

8 files changed

+0
-11
lines changed

8 files changed

+0
-11
lines changed

llvm/lib/IR/ProfDataUtils.cpp

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

13-
#include "llvm/IR/ProfDataUtils.h"
1413
#include "llvm/ADT/SmallVector.h"
1514
#include "llvm/IR/Constants.h"
1615
#include "llvm/IR/Function.h"

llvm/lib/Transforms/IPO/StripSymbols.cpp

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

22-
#include "llvm/Transforms/IPO/StripSymbols.h"
2322
#include "llvm/ADT/SmallPtrSet.h"
2423
#include "llvm/IR/Constants.h"
2524
#include "llvm/IR/DebugInfo.h"

llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
#include "llvm/DebugInfo/GSYM/LookupResult.h"
4747
#include "llvm/DebugInfo/GSYM/ObjectFileTransformer.h"
4848
#include "llvm/DebugInfo/GSYM/OutputAggregator.h"
49-
#include <optional>
5049

5150
using namespace llvm;
5251
using namespace gsym;

llvm/tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "PrettyFunctionDumper.h"
1414
#include "PrettyTypedefDumper.h"
1515
#include "PrettyVariableDumper.h"
16-
#include "PrettyVariableDumper.h"
1716
#include "llvm-pdbutil.h"
1817

1918
#include "llvm/DebugInfo/PDB/IPDBLineNumber.h"

llvm/unittests/CodeGen/DroppedVariableStatsMIRTest.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
#include "llvm/Support/TargetSelect.h"
2020
#include "llvm/Target/TargetMachine.h"
2121
#include "gtest/gtest.h"
22-
#include <gtest/gtest.h>
2322
#include <llvm/ADT/SmallString.h>
2423
#include <llvm/IR/LLVMContext.h>
25-
#include <llvm/IR/Module.h>
2624
#include <llvm/IR/PassInstrumentation.h>
2725
#include <llvm/IR/PassManager.h>
2826
#include <llvm/IR/PassTimingInfo.h>

llvm/unittests/IR/DroppedVariableStatsIRTest.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
#include "llvm/Passes/StandardInstrumentations.h"
1717
#include "llvm/Support/SourceMgr.h"
1818
#include "gtest/gtest.h"
19-
#include <gtest/gtest.h>
2019
#include <llvm/ADT/SmallString.h>
2120
#include <llvm/IR/LLVMContext.h>
22-
#include <llvm/IR/Module.h>
2321
#include <llvm/IR/PassInstrumentation.h>
2422
#include <llvm/IR/PassManager.h>
2523
#include <llvm/IR/PassTimingInfo.h>

llvm/unittests/Support/ManagedStatic.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
#include <pthread.h>
1616
#endif
1717

18-
#include "gtest/gtest.h"
19-
2018
using namespace llvm;
2119

2220
namespace {

llvm/unittests/Support/Path.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "llvm/ADT/ScopeExit.h"
1212
#include "llvm/ADT/SmallVector.h"
1313
#include "llvm/BinaryFormat/Magic.h"
14-
#include "llvm/Config/llvm-config.h"
1514
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX
1615
#include "llvm/Support/Compiler.h"
1716
#include "llvm/Support/ConvertUTF.h"

0 commit comments

Comments
 (0)