[lld] 3238b03 - [LLD][ELF][ARM] clang-format function signature [NFC]
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 03:54:47 PST 2020
Author: Peter Smith
Date: 2020-01-28T11:54:18Z
New Revision: 3238b03c197741207dea8cc3bc3273f74b448460
URL: https://github.com/llvm/llvm-project/commit/3238b03c197741207dea8cc3bc3273f74b448460
DIFF: https://github.com/llvm/llvm-project/commit/3238b03c197741207dea8cc3bc3273f74b448460.diff
LOG: [LLD][ELF][ARM] clang-format function signature [NFC]
ARM::needsThunk had gone over 80 characters, run clang-format over it to
prevent it wrapping.
Added:
Modified:
lld/ELF/Arch/ARM.cpp
Removed:
################################################################################
diff --git a/lld/ELF/Arch/ARM.cpp b/lld/ELF/Arch/ARM.cpp
index d3c6a17ec170..487bbd5d512a 100644
--- a/lld/ELF/Arch/ARM.cpp
+++ b/lld/ELF/Arch/ARM.cpp
@@ -263,7 +263,8 @@ void ARM::addPltSymbols(InputSection &isec, uint64_t off) const {
}
bool ARM::needsThunk(RelExpr expr, RelType type, const InputFile *file,
- uint64_t branchAddr, const Symbol &s, int64_t /*a*/) const {
+ uint64_t branchAddr, const Symbol &s,
+ int64_t /*a*/) const {
// If S is an undefined weak symbol and does not have a PLT entry then it
// will be resolved as a branch to the next instruction.
if (s.isUndefWeak() && !s.isInPlt())
More information about the llvm-commits
mailing list