diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-06-20 13:30:37 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-06-20 13:30:37 +0000 |
commit | d5d544757e43ecb2c9547dcafcca8f080809e611 (patch) | |
tree | 4857a3cba1a8aa5350b43767b78de7da5793b483 | |
parent | 086fcae95e2ccb45824f8701600691bea6b76973 (diff) | |
download | bcm5719-llvm-d5d544757e43ecb2c9547dcafcca8f080809e611.tar.gz bcm5719-llvm-d5d544757e43ecb2c9547dcafcca8f080809e611.zip |
[ELF] - Removed excessive reference from pointer arguments. NFC.
llvm-svn: 273155
-rw-r--r-- | lld/ELF/Writer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 9a2d158d827..6e20305b487 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -1268,8 +1268,7 @@ static uint16_t getELFType() { // to each section. This function fixes some predefined absolute // symbol values that depend on section address and size. template <class ELFT> void Writer<ELFT>::fixAbsoluteSymbols() { - auto Set = [](DefinedRegular<ELFT> *&S1, DefinedRegular<ELFT> *&S2, - uintX_t V) { + auto Set = [](DefinedRegular<ELFT> *S1, DefinedRegular<ELFT> *S2, uintX_t V) { if (S1) S1->Value = V; if (S2) |