[lld] r300284 - Remove useless namespaces.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 16:49:54 PDT 2017


Author: ruiu
Date: Thu Apr 13 18:49:54 2017
New Revision: 300284

URL: http://llvm.org/viewvc/llvm-project?rev=300284&view=rev
Log:
Remove useless namespaces.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=300284&r1=300283&r2=300284&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Thu Apr 13 18:49:54 2017
@@ -412,9 +412,6 @@ uint64_t elf::getHeaderSize() {
   return Out::ElfHeader->Size + Out::ProgramHeaders->Size;
 }
 
-namespace lld {
-namespace elf {
-
 template void OutputSection::writeHeaderTo<ELF32LE>(ELF32LE::Shdr *Shdr);
 template void OutputSection::writeHeaderTo<ELF32BE>(ELF32BE::Shdr *Shdr);
 template void OutputSection::writeHeaderTo<ELF64LE>(ELF64LE::Shdr *Shdr);
@@ -429,6 +426,3 @@ template void OutputSection::writeTo<ELF
 template void OutputSection::writeTo<ELF32BE>(uint8_t *Buf);
 template void OutputSection::writeTo<ELF64LE>(uint8_t *Buf);
 template void OutputSection::writeTo<ELF64BE>(uint8_t *Buf);
-
-}
-}




More information about the llvm-commits mailing list