[all-commits] [llvm/llvm-project] 3f35dd: [lld-macho][nfc][cleanup] Fix a few code style lin...
Vy Nguyen via All-commits
all-commits at lists.llvm.org
Tue Nov 2 08:36:04 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3f35dd06a5be17e9ed5ecfefcc21394e4443c31e
https://github.com/llvm/llvm-project/commit/3f35dd06a5be17e9ed5ecfefcc21394e4443c31e
Author: Vy Nguyen <vyng at google.com>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
M lld/MachO/ConcatOutputSection.cpp
M lld/MachO/Driver.cpp
M lld/MachO/InputFiles.cpp
M lld/MachO/InputSection.cpp
M lld/MachO/InputSection.h
M lld/MachO/UnwindInfoSection.cpp
Log Message:
-----------
[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
Differential Revision: https://reviews.llvm.org/D112978
More information about the All-commits
mailing list