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:
Raphael Isemann 2020-04-30 16:33:54 +02:00
parent 1bf7ccb706
commit 5e6f167aa9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
//===----------------------------------------------------------------------===//
//