[PATCH] D99555: [lld-macho][NFC] Drop unnecessary macho:: namespace prefix on unambiguous references to Symbol

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 29 17:25:58 PDT 2021


gkm created this revision.
gkm added a reviewer: lld-macho.
Herald added a reviewer: int3.
Herald added a project: lld-macho.
gkm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Within `lld/macho/`, only `InputFiles.cpp` and `Symbols.h` require the `macho::` namespace qualifier to disambiguate references to `class Symbol`.

Add braces to outer `for` of a 5-level single-line `if`/`for` nest.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99555

Files:
  lld/MachO/Arch/ARM64.cpp
  lld/MachO/Arch/X86_64.cpp
  lld/MachO/Driver.cpp
  lld/MachO/InputSection.cpp
  lld/MachO/MapFile.cpp
  lld/MachO/UnwindInfoSection.cpp
  lld/MachO/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99555.334020.patch
Type: text/x-patch
Size: 8826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210330/4ded78a8/attachment.bin>


More information about the llvm-commits mailing list