Use `using namespace lld` for consistency with other files.
authorRui Ueyama <ruiu@google.com>
Fri, 24 Mar 2017 00:15:37 +0000 (00:15 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 24 Mar 2017 00:15:37 +0000 (00:15 +0000)
llvm-svn: 298668

lld/ELF/Error.cpp

index 700ef70..d709ff3 100644 (file)
 #include <unistd.h>
 #endif
 
-using namespace lld::elf;
 using namespace llvm;
 
-namespace lld {
+using namespace lld;
+using namespace lld::elf;
 
 uint64_t elf::ErrorCount;
 raw_ostream *elf::ErrorOS;
@@ -101,5 +101,3 @@ void elf::fatal(const Twine &Msg) {
   *ErrorOS << Msg << "\n";
   exitLld(1);
 }
-
-} // namespace lld