Skip to content

Commit 057b3c2

Browse files
committed
llvm-reduce: Trim unnecessary includes
1 parent a03367f commit 057b3c2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include "llvm/IR/Instructions.h"
2020
#include "llvm/IR/Intrinsics.h"
2121
#include "llvm/IR/Operator.h"
22+
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
23+
#include "llvm/Transforms/Utils/Cloning.h"
2224
#include <set>
2325
#include <vector>
2426

llvm/tools/llvm-reduce/deltas/ReduceArguments.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
#define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEARGUMENTS_H
1616

1717
#include "Delta.h"
18-
#include "llvm/IR/Argument.h"
19-
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
20-
#include "llvm/Transforms/Utils/Cloning.h"
2118

2219
namespace llvm {
2320
void reduceArgumentsDeltaPass(Oracle &O, ReducerWorkItem &WorkItem);

llvm/tools/llvm-reduce/deltas/Utils.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_UTILS_H
1414
#define LLVM_TOOLS_LLVM_REDUCE_DELTAS_UTILS_H
1515

16-
#include "llvm/IR/Function.h"
17-
#include "llvm/IR/Value.h"
1816
#include "llvm/Support/CommandLine.h"
1917

2018
namespace llvm {
19+
class Function;
20+
class Type;
21+
class Value;
2122

2223
extern cl::opt<bool> Verbose;
2324

0 commit comments

Comments
 (0)