RegionPass.h - remove unnecessary Function.h include. NFC.

Forward declaration is already used.
This commit is contained in:
Simon Pilgrim 2020-06-20 15:30:11 +01:00
parent d84cdb81ed
commit 3bab56cc57

View File

@ -16,15 +16,13 @@
#define LLVM_ANALYSIS_REGIONPASS_H
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/LegacyPassManagers.h"
#include "llvm/Pass.h"
#include <deque>
namespace llvm {
class RGPassManager;
class Function;
class RGPassManager;
//===----------------------------------------------------------------------===//
/// A pass that runs on each Region in a function.