[PATCH] D74882: Remove namespace lld { namespace coff { from COFF LLD cpp files

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 17:11:03 PST 2020


rnk created this revision.
rnk added reviewers: MaskRay, ruiu.
Herald added subscribers: dexonsmith, steven_wu, hiraditya.
Herald added a project: LLVM.

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 <https://reviews.llvm.org/rG236fcbc21a7a88724240e818653fbb328a24bfbb>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74882

Files:
  lld/COFF/DebugTypes.cpp
  lld/COFF/InputFiles.cpp
  lld/COFF/LTO.cpp
  lld/COFF/MapFile.cpp
  lld/COFF/MinGW.cpp
  lld/COFF/PDB.cpp
  lld/COFF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74882.245560.patch
Type: text/x-patch
Size: 9536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200220/d6794b94/attachment.bin>


More information about the llvm-commits mailing list