From 5002a67ef2b0e05350220ba16a2b43f92001799c Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Mon, 2 May 2016 19:59:56 +0000 Subject: [PATCH] Remove unnecessary namespace specifiers. llvm-svn: 268292 --- lld/ELF/Driver.cpp | 4 ++-- lld/ELF/DriverUtils.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index b8882c2..9f4a1ca 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -106,9 +106,9 @@ LinkerDriver::getArchiveMembers(MemoryBufferRef MB) { // Opens and parses a file. Path has to be resolved already. // Newly created memory buffers are owned by this driver. void LinkerDriver::addFile(StringRef Path) { - using namespace llvm::sys::fs; + using namespace sys::fs; if (Config->Verbose) - llvm::outs() << Path << "\n"; + outs() << Path << "\n"; if (!Config->Reproduce.empty()) copyInputFile(Path); diff --git a/lld/ELF/DriverUtils.cpp b/lld/ELF/DriverUtils.cpp index 69d5dba..4380a83 100644 --- a/lld/ELF/DriverUtils.cpp +++ b/lld/ELF/DriverUtils.cpp @@ -57,7 +57,7 @@ opt::InputArgList ELFOptTable::parse(ArrayRef Argv) { // Expand response files. '@' is replaced by the file's contents. SmallVector Vec(Argv.data(), Argv.data() + Argv.size()); StringSaver Saver(Alloc); - llvm::cl::ExpandResponseFiles(Saver, llvm::cl::TokenizeGNUCommandLine, Vec); + cl::ExpandResponseFiles(Saver, cl::TokenizeGNUCommandLine, Vec); // Parse options and then do error checking. opt::InputArgList Args = this->ParseArgs(Vec, MissingIndex, MissingCount); @@ -148,7 +148,7 @@ static std::string rewritePath(StringRef S) { // the same command with the same inputs just by executing // "ld.lld @response.txt". Used by --reproduce. This feature is // supposed to be used by users to report an issue to LLD developers. -void elf::createResponseFile(const llvm::opt::InputArgList &Args) { +void elf::createResponseFile(const opt::InputArgList &Args) { // Create the output directory. if (std::error_code EC = fs::create_directories(Config->Reproduce, /*IgnoreExisting=*/false)) { -- 2.7.4