[llvm] r371564 - llvm-reduce: Remove some unused headers/more narrowly include them
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 15:31:35 PDT 2019
Author: dblaikie
Date: Tue Sep 10 15:31:35 2019
New Revision: 371564
URL: http://llvm.org/viewvc/llvm-project?rev=371564&view=rev
Log:
llvm-reduce: Remove some unused headers/more narrowly include them
Modified:
llvm/trunk/tools/llvm-reduce/deltas/Delta.cpp
llvm/trunk/tools/llvm-reduce/deltas/Delta.h
llvm/trunk/tools/llvm-reduce/deltas/ReduceFunctions.cpp
llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
Modified: llvm/trunk/tools/llvm-reduce/deltas/Delta.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-reduce/deltas/Delta.cpp?rev=371564&r1=371563&r2=371564&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-reduce/deltas/Delta.cpp (original)
+++ llvm/trunk/tools/llvm-reduce/deltas/Delta.cpp Tue Sep 10 15:31:35 2019
@@ -14,6 +14,10 @@
#include "Delta.h"
#include "llvm/ADT/STLExtras.h"
+#include "llvm/Support/ToolOutputFile.h"
+#include "llvm/Transforms/Utils/Cloning.h"
+#include <fstream>
+#include <set>
using namespace llvm;
Modified: llvm/trunk/tools/llvm-reduce/deltas/Delta.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-reduce/deltas/Delta.h?rev=371564&r1=371563&r2=371564&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-reduce/deltas/Delta.h (original)
+++ llvm/trunk/tools/llvm-reduce/deltas/Delta.h Tue Sep 10 15:31:35 2019
@@ -15,16 +15,10 @@
#ifndef LLVM_TOOLS_LLVMREDUCE_LLVMREDUCE_DELTA_H
#define LLVM_TOOLS_LLVMREDUCE_LLVMREDUCE_DELTA_H
-#include "../TestRunner.h"
-#include "llvm/IR/Verifier.h"
-#include "llvm/Support/FileSystem.h"
-#include "llvm/Support/Path.h"
-#include "llvm/Support/ScopedPrinter.h"
-#include "llvm/Support/ToolOutputFile.h"
-#include "llvm/Transforms/Utils/Cloning.h"
-#include <fstream>
-#include <set>
+#include "TestRunner.h"
#include <vector>
+#include <utility>
+#include <functional>
namespace llvm {
Modified: llvm/trunk/tools/llvm-reduce/deltas/ReduceFunctions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-reduce/deltas/ReduceFunctions.cpp?rev=371564&r1=371563&r2=371564&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-reduce/deltas/ReduceFunctions.cpp (original)
+++ llvm/trunk/tools/llvm-reduce/deltas/ReduceFunctions.cpp Tue Sep 10 15:31:35 2019
@@ -14,6 +14,7 @@
#include "ReduceFunctions.h"
#include "Delta.h"
+#include <set>
using namespace llvm;
Modified: llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp?rev=371564&r1=371563&r2=371564&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp (original)
+++ llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp Tue Sep 10 15:31:35 2019
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "ReduceGlobalVars.h"
+#include <set>
using namespace llvm;
More information about the llvm-commits
mailing list