[lld] r298668 - Use `using namespace lld` for consistency with other files.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 23 17:15:37 PDT 2017
Author: ruiu
Date: Thu Mar 23 19:15:37 2017
New Revision: 298668
URL: http://llvm.org/viewvc/llvm-project?rev=298668&view=rev
Log:
Use `using namespace lld` for consistency with other files.
Modified:
lld/trunk/ELF/Error.cpp
Modified: lld/trunk/ELF/Error.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Error.cpp?rev=298668&r1=298667&r2=298668&view=diff
==============================================================================
--- lld/trunk/ELF/Error.cpp (original)
+++ lld/trunk/ELF/Error.cpp Thu Mar 23 19:15:37 2017
@@ -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
More information about the llvm-commits
mailing list