[all-commits] [llvm/llvm-project] ffc658: [lld-macho][nfc] Minor refactoring + clang-tidy fixes

Vy Nguyen via All-commits all-commits at lists.llvm.org
Wed Apr 7 10:58:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffc65824f0ee20e1f8e884811062b92bd6707b11
      https://github.com/llvm/llvm-project/commit/ffc65824f0ee20e1f8e884811062b92bd6707b11
  Author: Vy Nguyen <vyng at google.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M lld/MachO/Driver.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list