[all-commits] [llvm/llvm-project] 40bc99: [lld-macho] Remove using namespace llvm::MachO

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jun 24 13:46:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 40bc99538c85904e3f4de04c795bbebd4013bbe7
      https://github.com/llvm/llvm-project/commit/40bc99538c85904e3f4de04c795bbebd4013bbe7
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-06-24 (Wed, 24 Jun 2020)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list