[lld] r252736 - Remove unnecessary this->. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 07:20:46 PST 2015
Author: rafael
Date: Wed Nov 11 09:20:45 2015
New Revision: 252736
URL: http://llvm.org/viewvc/llvm-project?rev=252736&view=rev
Log:
Remove unnecessary this->. NFC.
Modified:
lld/trunk/ELF/InputSection.cpp
Modified: lld/trunk/ELF/InputSection.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.cpp?rev=252736&r1=252735&r2=252736&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.cpp (original)
+++ lld/trunk/ELF/InputSection.cpp Wed Nov 11 09:20:45 2015
@@ -169,11 +169,11 @@ MergeInputSection<ELFT>::getOffset(uintX
// Find the element this offset points to.
auto I = std::upper_bound(
- this->Offsets.begin(), this->Offsets.end(), Offset,
+ Offsets.begin(), Offsets.end(), Offset,
[](const uintX_t &A, const std::pair<uintX_t, size_t> &B) {
return A < B.first;
});
- size_t End = I == this->Offsets.end() ? Data.size() : I->first;
+ size_t End = I == Offsets.end() ? Data.size() : I->first;
--I;
uintX_t Start = I->first;
More information about the llvm-commits
mailing list