OSDN Git Service

MCSectionWasm.h - reduce includes to forward declarations. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 27 Jun 2020 08:57:03 +0000 (09:57 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 27 Jun 2020 09:03:34 +0000 (10:03 +0100)
llvm/include/llvm/MC/MCSectionWasm.h
llvm/lib/MC/MCSectionWasm.cpp

index 2cf64de..6211afe 100644 (file)
 #ifndef LLVM_MC_MCSECTIONWASM_H
 #define LLVM_MC_MCSECTIONWASM_H
 
-#include "llvm/ADT/Twine.h"
 #include "llvm/MC/MCSection.h"
-#include "llvm/MC/MCSymbolWasm.h"
-#include "llvm/Support/Debug.h"
-#include "llvm/Support/raw_ostream.h"
 
 namespace llvm {
 
 class MCSymbol;
+class MCSymbolWasm;
+class StringRef;
+class raw_ostream;
 
 /// This represents a section on wasm.
 class MCSectionWasm final : public MCSection {
index 995b811..27ed518 100644 (file)
@@ -10,6 +10,7 @@
 #include "llvm/MC/MCAsmInfo.h"
 #include "llvm/MC/MCExpr.h"
 #include "llvm/MC/MCSymbol.h"
+#include "llvm/MC/MCSymbolWasm.h"
 #include "llvm/Support/raw_ostream.h"
 
 using namespace llvm;