[lld] r293380 - Remove unused 'using' declaration. Found by clang-tidy: misc-unused-using-decls NFC

Sylvestre Ledru via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 28 05:41:33 PST 2017


Author: sylvestre
Date: Sat Jan 28 07:41:32 2017
New Revision: 293380

URL: http://llvm.org/viewvc/llvm-project?rev=293380&view=rev
Log:
Remove unused 'using' declaration. Found by clang-tidy: misc-unused-using-decls NFC

Modified:
    lld/trunk/COFF/Driver.cpp
    lld/trunk/COFF/InputFiles.cpp

Modified: lld/trunk/COFF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=293380&r1=293379&r2=293380&view=diff
==============================================================================
--- lld/trunk/COFF/Driver.cpp (original)
+++ lld/trunk/COFF/Driver.cpp Sat Jan 28 07:41:32 2017
@@ -41,7 +41,6 @@
 using namespace llvm;
 using namespace llvm::COFF;
 using llvm::sys::Process;
-using llvm::sys::fs::OpenFlags;
 using llvm::sys::fs::file_magic;
 using llvm::sys::fs::identify_magic;
 

Modified: lld/trunk/COFF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/InputFiles.cpp?rev=293380&r1=293379&r2=293380&view=diff
==============================================================================
--- lld/trunk/COFF/InputFiles.cpp (original)
+++ lld/trunk/COFF/InputFiles.cpp Sat Jan 28 07:41:32 2017
@@ -41,8 +41,6 @@ using namespace llvm::support::endian;
 
 using llvm::Triple;
 using llvm::support::ulittle32_t;
-using llvm::sys::fs::file_magic;
-using llvm::sys::fs::identify_magic;
 
 namespace lld {
 namespace coff {




More information about the llvm-commits mailing list