[PATCH] D46969: [WebAssembly] Remove unused headers in MCWasmObjectWriter

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 16 15:17:09 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL332535: [WebAssembly] Remove unused headers in MCWasmObjectWriter (authored by sbc, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D46969

Files:
  llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h
  llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp


Index: llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h
===================================================================
--- llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h
+++ llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h
@@ -10,9 +10,7 @@
 #ifndef LLVM_MC_MCWASMOBJECTWRITER_H
 #define LLVM_MC_MCWASMOBJECTWRITER_H
 
-#include "llvm/ADT/Triple.h"
-#include "llvm/BinaryFormat/Wasm.h"
-#include "llvm/Support/DataTypes.h"
+#include <memory>
 
 namespace llvm {
 
Index: llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp
===================================================================
--- llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp
+++ llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp
@@ -7,9 +7,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "llvm/ADT/STLExtras.h"
-#include "llvm/MC/MCExpr.h"
-#include "llvm/MC/MCValue.h"
 #include "llvm/MC/MCWasmObjectWriter.h"
 
 using namespace llvm;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46969.147197.patch
Type: text/x-patch
Size: 954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180516/11ea25b2/attachment.bin>


More information about the llvm-commits mailing list