WasmEHFuncInfo.h - reduce BasicBlock.h/MachineBasicBlock.h includes to just forward...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 16 Apr 2020 13:09:20 +0000 (14:09 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 16 Apr 2020 13:59:49 +0000 (14:59 +0100)
llvm/include/llvm/CodeGen/WasmEHFuncInfo.h

index 887a146..41f8856 100644 (file)
 
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/PointerUnion.h"
-#include "llvm/CodeGen/MachineBasicBlock.h"
-#include "llvm/IR/BasicBlock.h"
 
 namespace llvm {
 
+class BasicBlock;
+class Function;
+class MachineBasicBlock;
+
 enum EventTag { CPP_EXCEPTION = 0, C_LONGJMP = 1 };
 
 using BBOrMBB = PointerUnion<const BasicBlock *, MachineBasicBlock *>;