HomePhabricator

[lld-macho][nfc] Minor refactoring + clang-tidy fixes

Authored by oontvoo on Apr 6 2021, 10:32 PM.

Description

[lld-macho][nfc] Minor refactoring + clang-tidy fixes

  • use "empty()" instead of "size()"
  • refactor the re-export code so it doesn't create a new vector every time.

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