[lld] 57501e5 - [lld][MachO] Fix code formatting
Alexander Shaposhnikov via llvm-commits
llvm-commits at lists.llvm.org
Sun May 23 20:50:07 PDT 2021
Author: Alexander Shaposhnikov
Date: 2021-05-23T20:35:55-07:00
New Revision: 57501e512e86c5c88747f6602bc7009a1861b751
URL: https://github.com/llvm/llvm-project/commit/57501e512e86c5c88747f6602bc7009a1861b751
DIFF: https://github.com/llvm/llvm-project/commit/57501e512e86c5c88747f6602bc7009a1861b751.diff
LOG: [lld][MachO] Fix code formatting
Apply clang-format -style=llvm to InputFile.cpp. NFC.
Test plan: make check-all
Added:
Modified:
lld/MachO/InputFiles.cpp
Removed:
################################################################################
diff --git a/lld/MachO/InputFiles.cpp b/lld/MachO/InputFiles.cpp
index a6d63e24f03d5..f6a0b5296cd7a 100644
--- a/lld/MachO/InputFiles.cpp
+++ b/lld/MachO/InputFiles.cpp
@@ -498,11 +498,10 @@ static macho::Symbol *createDefined(const NList &sym, StringRef name,
assert(!isWeakDefCanBeHidden &&
"weak_def_can_be_hidden on already-hidden symbol?");
- return make<Defined>(name, isec->file, isec, value, size,
- sym.n_desc & N_WEAK_DEF,
- /*isExternal=*/false, /*isPrivateExtern=*/false,
- sym.n_desc & N_ARM_THUMB_DEF,
- sym.n_desc & REFERENCED_DYNAMICALLY);
+ return make<Defined>(
+ name, isec->file, isec, value, size, sym.n_desc & N_WEAK_DEF,
+ /*isExternal=*/false, /*isPrivateExtern=*/false,
+ sym.n_desc & N_ARM_THUMB_DEF, sym.n_desc & REFERENCED_DYNAMICALLY);
}
// Absolute symbols are defined symbols that do not have an associated
More information about the llvm-commits
mailing list