Skip to content

Commit dd5ffc5

Browse files
committed
More header include fixes
MapVector started querying for constructability of stored types with templates. As such, we need the definition of `LocalTypeDataKey` so that it can instantiate the template. We also lost a transitive include of `TinyPtrVector`, which we use, so including it in `ConformanceLookupTable.h`.
1 parent d10a7bf commit dd5ffc5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/AST/ConformanceLookupTable.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "llvm/ADT/MapVector.h"
2828
#include "llvm/ADT/PointerUnion.h"
2929
#include "llvm/ADT/SetVector.h"
30+
#include "llvm/ADT/TinyPtrVector.h"
3031
#include <unordered_map>
3132

3233
namespace swift {

lib/IRGen/Outlining.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include "swift/Basic/LLVM.h"
2121
#include "llvm/ADT/MapVector.h"
22+
#include "LocalTypeDataKind.h"
2223

2324
namespace llvm {
2425
class Value;
@@ -37,7 +38,6 @@ class Address;
3738
class Explosion;
3839
class IRGenFunction;
3940
class IRGenModule;
40-
class LocalTypeDataKey;
4141
class TypeInfo;
4242

4343
/// A helper class for emitting outlined value operations.

0 commit comments

Comments
 (0)