[llvm] 83ca548 - WebAssemblyUtilities.h - reduce unnecessary includes to forward declarations. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 09:47:15 PDT 2020


Author: Simon Pilgrim
Date: 2020-09-03T17:43:35+01:00
New Revision: 83ca548fcb45890fdafadf7a314ddfaa7a9b79a6

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

LOG: WebAssemblyUtilities.h - reduce unnecessary includes to forward declarations. NFCI.

Added: 
    

Modified: 
    llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h b/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h
index 337077178557..8fa794c0b932 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h
@@ -15,11 +15,10 @@
 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYUTILITIES_H
 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYUTILITIES_H
 
-#include "llvm/CodeGen/MachineBasicBlock.h"
-#include "llvm/CodeGen/MachineFunction.h"
-
 namespace llvm {
 
+class MachineInstr;
+class MachineOperand;
 class WebAssemblyFunctionInfo;
 
 namespace WebAssembly {


        


More information about the llvm-commits mailing list