[PATCH] D112978: [lld-macho][nfc][cleanup] Fix a few code style lints and clang-tidy findings- Use .empty() instead of `size() == 0` when possible.- Use const-ref to avoid copying

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 08:36:03 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3f35dd06a5be: [lld-macho][nfc][cleanup] Fix a few code style lints and clang-tidy findings (authored by oontvoo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112978/new/

https://reviews.llvm.org/D112978

Files:
  lld/MachO/ConcatOutputSection.cpp
  lld/MachO/Driver.cpp
  lld/MachO/InputFiles.cpp
  lld/MachO/InputSection.cpp
  lld/MachO/InputSection.h
  lld/MachO/UnwindInfoSection.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112978.384123.patch
Type: text/x-patch
Size: 4805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211102/cfd1e78e/attachment.bin>


More information about the llvm-commits mailing list