[llvm] d9e81aa - WasmEHFuncInfo.h - reduce BasicBlock.h/MachineBasicBlock.h includes to just forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 07:00:20 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-16T14:59:49+01:00
New Revision: d9e81aab103a63292d122d36ca5c87181254d384

URL: https://github.com/llvm/llvm-project/commit/d9e81aab103a63292d122d36ca5c87181254d384
DIFF: https://github.com/llvm/llvm-project/commit/d9e81aab103a63292d122d36ca5c87181254d384.diff

LOG: WasmEHFuncInfo.h - reduce BasicBlock.h/MachineBasicBlock.h includes to just forward declarations. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/WasmEHFuncInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h b/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
index 887a1467b3e4..41f8856f31f2 100644
--- a/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
+++ b/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
@@ -15,11 +15,13 @@
 
 #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 *>;


        


More information about the llvm-commits mailing list