]> granicus.if.org Git - llvm/commitdiff
llvm-reduce: Remove some unused headers/more narrowly include them
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 10 Sep 2019 22:31:35 +0000 (22:31 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 10 Sep 2019 22:31:35 +0000 (22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371564 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-reduce/deltas/Delta.cpp
tools/llvm-reduce/deltas/Delta.h
tools/llvm-reduce/deltas/ReduceFunctions.cpp
tools/llvm-reduce/deltas/ReduceGlobalVars.cpp

index c6c39d979f6b668314293d1fadf37f3f4d705ad0..45dac1769e35e64c8ed4ec6441c77002b03f63da 100644 (file)
 
 #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;
 
index 54e5258e0bf0dcdb71188b5ccd4239bcd0e5c7b1..d6cf52f8d63435e7be2133180016f0130b001b59 100644 (file)
 #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 {
 
index bfd5106fd876ca92934e9ee9a0f4dcebcbb88d1f..450f78c39bb4592d447d34e19f9cf6111318f47f 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "ReduceFunctions.h"
 #include "Delta.h"
+#include <set>
 
 using namespace llvm;
 
index fd7cbf2817c37dbac1195432db7a376585e82e93..b2c78d170786cdb32b5ebe9d5b1f5f6ad2ab2a99 100644 (file)
@@ -12,6 +12,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "ReduceGlobalVars.h"
+#include <set>
 
 using namespace llvm;