[all-commits] [llvm/llvm-project] 8a310f: Remove namespace lld { namespace coff { from COFF ...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Tue Feb 25 17:35:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a310f40d0a325daf0c81af204c93adc3e885d10
      https://github.com/llvm/llvm-project/commit/8a310f40d0a325daf0c81af204c93adc3e885d10
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M lld/COFF/DebugTypes.cpp
    M lld/COFF/InputFiles.cpp
    M lld/COFF/LTO.cpp
    M lld/COFF/MapFile.cpp
    M lld/COFF/MinGW.cpp
    M lld/COFF/PDB.cpp
    M lld/COFF/Writer.cpp

  Log Message:
  -----------
  Remove namespace lld { namespace coff { from COFF LLD cpp files

Instead, use `using namespace lld(::coff)`, and fully qualify the names
of free functions where they are defined in cpp files.

This effectively reverts d79c3be618 to follow the new style guide added
in 236fcbc21a7a8872.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D74882




More information about the All-commits mailing list