summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2018-11-21 00:51:37 +0000
committerHeejin Ahn <aheejin@gmail.com>2018-11-21 00:51:37 +0000
commitb6254c515f618c4a4327a49d20b5ea33c1caa49d (patch)
treeda358e631106157c2da5bdcd59e24c2fca704914
parent4164beaac11d3d9b805b405397da734fbd3c5f16 (diff)
downloadbcm5719-llvm-b6254c515f618c4a4327a49d20b5ea33c1caa49d.tar.gz
bcm5719-llvm-b6254c515f618c4a4327a49d20b5ea33c1caa49d.zip
[WebAssembly] Delete unused using statements (NFC)
Reviewers: sbc100, dschuff Subscribers: mehdi_amini, jgravelle-google, sunfish, steven_wu, dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D54683 llvm-svn: 347370
-rw-r--r--lld/wasm/InputFiles.h3
-rw-r--r--lld/wasm/InputGlobal.h1
-rw-r--r--lld/wasm/LTO.cpp2
-rw-r--r--lld/wasm/MarkLive.cpp2
-rw-r--r--lld/wasm/Symbols.h2
-rw-r--r--lld/wasm/WriterUtils.cpp1
6 files changed, 0 insertions, 11 deletions
diff --git a/lld/wasm/InputFiles.h b/lld/wasm/InputFiles.h
index ec77446e630..948cf91fb70 100644
--- a/lld/wasm/InputFiles.h
+++ b/lld/wasm/InputFiles.h
@@ -24,10 +24,7 @@ using llvm::object::Archive;
using llvm::object::WasmObjectFile;
using llvm::object::WasmSection;
using llvm::object::WasmSymbol;
-using llvm::wasm::WasmGlobal;
-using llvm::wasm::WasmImport;
using llvm::wasm::WasmRelocation;
-using llvm::wasm::WasmSignature;
namespace llvm {
namespace lto {
diff --git a/lld/wasm/InputGlobal.h b/lld/wasm/InputGlobal.h
index 37d0ab90370..fd534307340 100644
--- a/lld/wasm/InputGlobal.h
+++ b/lld/wasm/InputGlobal.h
@@ -17,7 +17,6 @@
#include "llvm/Object/Wasm.h"
using llvm::wasm::WasmGlobal;
-using llvm::wasm::WasmInitExpr;
namespace lld {
namespace wasm {
diff --git a/lld/wasm/LTO.cpp b/lld/wasm/LTO.cpp
index 73a5c1bedaf..ca227b4254a 100644
--- a/lld/wasm/LTO.cpp
+++ b/lld/wasm/LTO.cpp
@@ -36,8 +36,6 @@
#include <vector>
using namespace llvm;
-using namespace llvm::object;
-
using namespace lld;
using namespace lld::wasm;
diff --git a/lld/wasm/MarkLive.cpp b/lld/wasm/MarkLive.cpp
index dfaa712c329..7f4696bced9 100644
--- a/lld/wasm/MarkLive.cpp
+++ b/lld/wasm/MarkLive.cpp
@@ -30,8 +30,6 @@
using namespace llvm;
using namespace llvm::wasm;
-using namespace lld;
-using namespace lld::wasm;
void lld::wasm::markLive() {
if (!Config->GcSections)
diff --git a/lld/wasm/Symbols.h b/lld/wasm/Symbols.h
index fc4a5f406af..06ed0fe5770 100644
--- a/lld/wasm/Symbols.h
+++ b/lld/wasm/Symbols.h
@@ -16,8 +16,6 @@
#include "llvm/Object/Wasm.h"
using llvm::object::Archive;
-using llvm::object::WasmSymbol;
-using llvm::wasm::WasmGlobal;
using llvm::wasm::WasmGlobalType;
using llvm::wasm::WasmSignature;
using llvm::wasm::WasmSymbolType;
diff --git a/lld/wasm/WriterUtils.cpp b/lld/wasm/WriterUtils.cpp
index 6de48d91b85..778b6d27f8d 100644
--- a/lld/wasm/WriterUtils.cpp
+++ b/lld/wasm/WriterUtils.cpp
@@ -17,7 +17,6 @@
using namespace llvm;
using namespace llvm::wasm;
-using namespace lld::wasm;
namespace lld {
OpenPOWER on IntegriCloud