Skip to content

Commit

Permalink
Remove using namespace and use explicit qualification.
Browse files Browse the repository at this point in the history
There were only two places it was actually making anything shorter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184273 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chisophugis committed Jun 19, 2013
1 parent 83bc345 commit e1e1bb1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/yaml2obj/yaml2elf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,8 @@ static void handleSymtabSectionHeader(
template <class ELFT>
static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc) {
using namespace llvm::ELF;
using namespace llvm::object;
typedef typename ELFObjectFile<ELFT>::Elf_Ehdr Elf_Ehdr;
typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr;
typedef typename object::ELFObjectFile<ELFT>::Elf_Ehdr Elf_Ehdr;
typedef typename object::ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr;

const ELFYAML::FileHeader &Hdr = Doc.Header;

Expand Down

0 comments on commit e1e1bb1

Please sign in to comment.