forked from OSchip/llvm-project
Include SmallVector.h in IPO.h to fix modules build [NFC]
This file currently doesn't compile under LLVM_ENABLE_MODULES as SmallVector is used in this header but is never forward declared or included in any way. Let's include SmallVector.h instead and get rid of the SmallVectorImpl fwd declaration which is now no longer necessary.
This commit is contained in:
parent
1bf7ccb706
commit
5e6f167aa9
|
@ -14,6 +14,7 @@
|
|||
#ifndef LLVM_TRANSFORMS_IPO_H
|
||||
#define LLVM_TRANSFORMS_IPO_H
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
|
@ -27,7 +28,6 @@ class Pass;
|
|||
class BasicBlock;
|
||||
class GlobalValue;
|
||||
class raw_ostream;
|
||||
template <typename T> class SmallVectorImpl;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue