[lld-macho] Remove using namespace llvm::MachO
authorFangrui Song <i@maskray.me>
Wed, 24 Jun 2020 20:45:41 +0000 (13:45 -0700)
committerFangrui Song <maskray@google.com>
Wed, 24 Jun 2020 20:46:13 +0000 (13:46 -0700)
commit40bc99538c85904e3f4de04c795bbebd4013bbe7
treead598925b496107e4087f7da6a070cf1bfe86035
parent81b2d1d112035d34fcbad1624f29bc214e67f1e5
[lld-macho] Remove using namespace llvm::MachO

llvm/include/llvm/TextAPI/MachO/ inappropriately uses the llvm::MachO namespace (this is for BinaryFormat and Object) and causes conflicts in some MSVC builds::

http://lab.llvm.org:8011/builders/sanitizer-windows/builds/65324/steps/stage%201%20build/logs/stdio

Removing `using namespace llvm::MachO` should decrease name collisions.
lld/MachO/SyntheticSections.cpp