1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

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 7963eded45
commit 1fc62e740a

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