[PATCH] D46969: [WebAssembly] Remove unused headers in MCWasmObjectWriter
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 16 11:48:35 PDT 2018
sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.
Repository:
rL LLVM
https://reviews.llvm.org/D46969
Files:
include/llvm/MC/MCWasmObjectWriter.h
lib/MC/MCWasmObjectTargetWriter.cpp
Index: lib/MC/MCWasmObjectTargetWriter.cpp
===================================================================
--- lib/MC/MCWasmObjectTargetWriter.cpp
+++ 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;
Index: include/llvm/MC/MCWasmObjectWriter.h
===================================================================
--- include/llvm/MC/MCWasmObjectWriter.h
+++ 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 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46969.147148.patch
Type: text/x-patch
Size: 888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180516/cc11e94e/attachment.bin>
More information about the llvm-commits
mailing list