[llvm] 6170437 - [ModuleInliner] Remove unnecessary #includes (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 17 12:05:44 PDT 2022
Author: Kazu Hirata
Date: 2022-09-17T12:05:35-07:00
New Revision: 6170437df5a0ec93325ac46c15bc6c2637c06c58
URL: https://github.com/llvm/llvm-project/commit/6170437df5a0ec93325ac46c15bc6c2637c06c58
DIFF: https://github.com/llvm/llvm-project/commit/6170437df5a0ec93325ac46c15bc6c2637c06c58.diff
LOG: [ModuleInliner] Remove unnecessary #includes (NFC)
While I am at it, this patch removes an unnecessary forward
declaration.
Added:
Modified:
llvm/include/llvm/Analysis/InlineOrder.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/InlineOrder.h b/llvm/include/llvm/Analysis/InlineOrder.h
index dfea512dc11e0..efedf2737ae52 100644
--- a/llvm/include/llvm/Analysis/InlineOrder.h
+++ b/llvm/include/llvm/Analysis/InlineOrder.h
@@ -9,17 +9,12 @@
#ifndef LLVM_ANALYSIS_INLINEORDER_H
#define LLVM_ANALYSIS_INLINEORDER_H
-#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLFunctionalExtras.h"
-#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/InlineCost.h"
-#include "llvm/IR/InstrTypes.h"
-#include <algorithm>
#include <utility>
namespace llvm {
class CallBase;
-class Function;
template <typename T> class InlineOrder {
public:
More information about the llvm-commits
mailing list