mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
CodeMetrics.h - include and forward declaration cleanup. NFC.
Remove SmallPtrSet include, replace with forward declaration and include SmallPtrSet.h in CodeMetrics.cpp directly. Remove unused llvm::DataLayout/Instruction forward declarations.
This commit is contained in:
parent
092637d2b4
commit
72496a2efb
@ -15,15 +15,13 @@
|
||||
#define LLVM_ANALYSIS_CODEMETRICS_H
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
|
||||
namespace llvm {
|
||||
class AssumptionCache;
|
||||
class BasicBlock;
|
||||
class Loop;
|
||||
class Function;
|
||||
class Instruction;
|
||||
class DataLayout;
|
||||
template <class T> class SmallPtrSetImpl;
|
||||
class TargetTransformInfo;
|
||||
class Value;
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Analysis/CodeMetrics.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/Analysis/AssumptionCache.h"
|
||||
#include "llvm/Analysis/LoopInfo.h"
|
||||
#include "llvm/Analysis/TargetTransformInfo.h"
|
||||
|
Loading…
Reference in New Issue
Block a user