[all-commits] [llvm/llvm-project] 427d35: [lld-macho][NFC] Drop unnecessary macho:: namespac...

Greg McGary via All-commits all-commits at lists.llvm.org
Tue Mar 30 14:59:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 427d3597219ec16c1bc92a0f4c9e39015e80c923
      https://github.com/llvm/llvm-project/commit/427d3597219ec16c1bc92a0f4c9e39015e80c923
  Author: Greg McGary <gkm at fb.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M lld/MachO/Arch/ARM64.cpp
    M lld/MachO/Arch/X86_64.cpp
    M lld/MachO/Driver.cpp
    M lld/MachO/InputSection.cpp
    M lld/MachO/MapFile.cpp
    M lld/MachO/UnwindInfoSection.cpp
    M lld/MachO/Writer.cpp

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

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.

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




More information about the All-commits mailing list