Skip to content

Commit d9e81aa

Browse files
committed
WasmEHFuncInfo.h - reduce BasicBlock.h/MachineBasicBlock.h includes to just forward declarations. NFC.
1 parent ebd9023 commit d9e81aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/include/llvm/CodeGen/WasmEHFuncInfo.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515

1616
#include "llvm/ADT/DenseMap.h"
1717
#include "llvm/ADT/PointerUnion.h"
18-
#include "llvm/CodeGen/MachineBasicBlock.h"
19-
#include "llvm/IR/BasicBlock.h"
2018

2119
namespace llvm {
2220

21+
class BasicBlock;
22+
class Function;
23+
class MachineBasicBlock;
24+
2325
enum EventTag { CPP_EXCEPTION = 0, C_LONGJMP = 1 };
2426

2527
using BBOrMBB = PointerUnion<const BasicBlock *, MachineBasicBlock *>;

0 commit comments

Comments
 (0)