summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/Error.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lld/ELF/Error.cpp b/lld/ELF/Error.cpp
index 700ef700dbd..d709ff3e714 100644
--- a/lld/ELF/Error.cpp
+++ b/lld/ELF/Error.cpp
@@ -20,10 +20,10 @@
#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
OpenPOWER on IntegriCloud