[llvm] r332535 - [WebAssembly] Remove unused headers in MCWasmObjectWriter
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Wed May 16 15:13:18 PDT 2018
Author: sbc
Date: Wed May 16 15:13:18 2018
New Revision: 332535
URL: http://llvm.org/viewvc/llvm-project?rev=332535&view=rev
Log:
[WebAssembly] Remove unused headers in MCWasmObjectWriter
Differential Revision: https://reviews.llvm.org/D46969
Modified:
llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h
llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp
Modified: llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h?rev=332535&r1=332534&r2=332535&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h (original)
+++ llvm/trunk/include/llvm/MC/MCWasmObjectWriter.h Wed May 16 15:13:18 2018
@@ -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 {
Modified: llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp?rev=332535&r1=332534&r2=332535&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp (original)
+++ llvm/trunk/lib/MC/MCWasmObjectTargetWriter.cpp Wed May 16 15:13:18 2018
@@ -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;
More information about the llvm-commits
mailing list