diff options
Diffstat (limited to 'ELF/ScriptLexer.cpp')
-rw-r--r-- | ELF/ScriptLexer.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ELF/ScriptLexer.cpp b/ELF/ScriptLexer.cpp index 953a3df8a31c6..e0ff56fec3f3d 100644 --- a/ELF/ScriptLexer.cpp +++ b/ELF/ScriptLexer.cpp @@ -36,9 +36,9 @@ #include "llvm/ADT/Twine.h" using namespace llvm; -using namespace lld; -using namespace lld::elf; +namespace lld { +namespace elf { // Returns a whole line containing the current token. StringRef ScriptLexer::getLine() { StringRef s = getCurrentMB().getBuffer(); @@ -298,3 +298,6 @@ MemoryBufferRef ScriptLexer::getCurrentMB() { return mb; llvm_unreachable("getCurrentMB: failed to find a token"); } + +} // namespace elf +} // namespace lld |