summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-03-24 00:15:37 +0000
committerRui Ueyama <ruiu@google.com>2017-03-24 00:15:37 +0000
commitbe68fe18cc420115a7187d87ffd87ef0bb0685cd (patch)
treed6a6e7c4a1fdc0e3d3e4a0685b4e5346fd4690be
parent9b55e92a7fce678434a4d6ff4e39e098a2062bba (diff)
downloadbcm5719-llvm-be68fe18cc420115a7187d87ffd87ef0bb0685cd.tar.gz
bcm5719-llvm-be68fe18cc420115a7187d87ffd87ef0bb0685cd.zip
Use `using namespace lld` for consistency with other files.
llvm-svn: 298668
-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