[llvm] 7ca94a8 - [llvm-reduce] Remove unnecessary includes (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 23:38:52 PST 2023
Author: Kazu Hirata
Date: 2023-12-05T23:38:46-08:00
New Revision: 7ca94a841c7c557191f278ab68f8358e5b9f6cee
URL: https://github.com/llvm/llvm-project/commit/7ca94a841c7c557191f278ab68f8358e5b9f6cee
DIFF: https://github.com/llvm/llvm-project/commit/7ca94a841c7c557191f278ab68f8358e5b9f6cee.diff
LOG: [llvm-reduce] Remove unnecessary includes (NFC)
Identified with clangd.
Added:
Modified:
llvm/tools/llvm-reduce/deltas/Delta.cpp
llvm/tools/llvm-reduce/deltas/Delta.h
llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-reduce/deltas/Delta.cpp b/llvm/tools/llvm-reduce/deltas/Delta.cpp
index 46bc93c1ce33f..62dfd62a4d5a5 100644
--- a/llvm/tools/llvm-reduce/deltas/Delta.cpp
+++ b/llvm/tools/llvm-reduce/deltas/Delta.cpp
@@ -29,7 +29,6 @@
#include "llvm/Support/MemoryBufferRef.h"
#include "llvm/Support/ThreadPool.h"
#include <fstream>
-#include <set>
using namespace llvm;
diff --git a/llvm/tools/llvm-reduce/deltas/Delta.h b/llvm/tools/llvm-reduce/deltas/Delta.h
index f39ee00c066c2..96fcea89484c0 100644
--- a/llvm/tools/llvm-reduce/deltas/Delta.h
+++ b/llvm/tools/llvm-reduce/deltas/Delta.h
@@ -17,7 +17,6 @@
#include "ReducerWorkItem.h"
#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/ScopeExit.h"
#include "llvm/Support/raw_ostream.h"
#include <functional>
#include <utility>
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp b/llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
index da4bde58e6ad8..f4d8496aba4a7 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
@@ -18,8 +18,6 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/InstIterator.h"
-#include <set>
-#include <stack>
#include <tuple>
#include <vector>
More information about the llvm-commits
mailing list