From b0fb5cb3dce536e20d5d4c0cefa58378d2bd69aa Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Wed, 19 Jun 2013 01:13:28 +0000 Subject: [PATCH] Remove `using namespace` and use explicit qualification. There were only two places it was actually making anything shorter. llvm-svn: 184273 --- tools/yaml2obj/yaml2elf.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/yaml2obj/yaml2elf.cpp b/tools/yaml2obj/yaml2elf.cpp index 1c408424481..f62e6884e8a 100644 --- a/tools/yaml2obj/yaml2elf.cpp +++ b/tools/yaml2obj/yaml2elf.cpp @@ -177,9 +177,8 @@ static void handleSymtabSectionHeader( template static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc) { using namespace llvm::ELF; - using namespace llvm::object; - typedef typename ELFObjectFile::Elf_Ehdr Elf_Ehdr; - typedef typename ELFObjectFile::Elf_Shdr Elf_Shdr; + typedef typename object::ELFObjectFile::Elf_Ehdr Elf_Ehdr; + typedef typename object::ELFObjectFile::Elf_Shdr Elf_Shdr; const ELFYAML::FileHeader &Hdr = Doc.Header;