[lld] r347370 - [WebAssembly] Delete unused using statements (NFC)
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 20 16:51:37 PST 2018
Author: aheejin
Date: Tue Nov 20 16:51:37 2018
New Revision: 347370
URL: http://llvm.org/viewvc/llvm-project?rev=347370&view=rev
Log:
[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
Modified:
lld/trunk/wasm/InputFiles.h
lld/trunk/wasm/InputGlobal.h
lld/trunk/wasm/LTO.cpp
lld/trunk/wasm/MarkLive.cpp
lld/trunk/wasm/Symbols.h
lld/trunk/wasm/WriterUtils.cpp
Modified: lld/trunk/wasm/InputFiles.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/InputFiles.h?rev=347370&r1=347369&r2=347370&view=diff
==============================================================================
--- lld/trunk/wasm/InputFiles.h (original)
+++ lld/trunk/wasm/InputFiles.h Tue Nov 20 16:51:37 2018
@@ -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 {
Modified: lld/trunk/wasm/InputGlobal.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/InputGlobal.h?rev=347370&r1=347369&r2=347370&view=diff
==============================================================================
--- lld/trunk/wasm/InputGlobal.h (original)
+++ lld/trunk/wasm/InputGlobal.h Tue Nov 20 16:51:37 2018
@@ -17,7 +17,6 @@
#include "llvm/Object/Wasm.h"
using llvm::wasm::WasmGlobal;
-using llvm::wasm::WasmInitExpr;
namespace lld {
namespace wasm {
Modified: lld/trunk/wasm/LTO.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/LTO.cpp?rev=347370&r1=347369&r2=347370&view=diff
==============================================================================
--- lld/trunk/wasm/LTO.cpp (original)
+++ lld/trunk/wasm/LTO.cpp Tue Nov 20 16:51:37 2018
@@ -36,8 +36,6 @@
#include <vector>
using namespace llvm;
-using namespace llvm::object;
-
using namespace lld;
using namespace lld::wasm;
Modified: lld/trunk/wasm/MarkLive.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/MarkLive.cpp?rev=347370&r1=347369&r2=347370&view=diff
==============================================================================
--- lld/trunk/wasm/MarkLive.cpp (original)
+++ lld/trunk/wasm/MarkLive.cpp Tue Nov 20 16:51:37 2018
@@ -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)
Modified: lld/trunk/wasm/Symbols.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/Symbols.h?rev=347370&r1=347369&r2=347370&view=diff
==============================================================================
--- lld/trunk/wasm/Symbols.h (original)
+++ lld/trunk/wasm/Symbols.h Tue Nov 20 16:51:37 2018
@@ -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;
Modified: lld/trunk/wasm/WriterUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/WriterUtils.cpp?rev=347370&r1=347369&r2=347370&view=diff
==============================================================================
--- lld/trunk/wasm/WriterUtils.cpp (original)
+++ lld/trunk/wasm/WriterUtils.cpp Tue Nov 20 16:51:37 2018
@@ -17,7 +17,6 @@
using namespace llvm;
using namespace llvm::wasm;
-using namespace lld::wasm;
namespace lld {
More information about the llvm-commits
mailing list