[lld] r320323 - Remove this->. NFC.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 11:28:32 PST 2017


Author: rafael
Date: Sun Dec 10 11:28:32 2017
New Revision: 320323

URL: http://llvm.org/viewvc/llvm-project?rev=320323&view=rev
Log:
Remove this->. NFC.

Modified:
    lld/trunk/ELF/SyntheticSections.cpp

Modified: lld/trunk/ELF/SyntheticSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.cpp?rev=320323&r1=320322&r2=320323&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.cpp (original)
+++ lld/trunk/ELF/SyntheticSections.cpp Sun Dec 10 11:28:32 2017
@@ -1220,10 +1220,10 @@ void RelocationBaseSection::finalizeCont
   // If all relocations are R_*_RELATIVE they don't refer to any
   // dynamic symbol and we don't need a dynamic symbol table. If that
   // is the case, just use 0 as the link.
-  this->Link = InX::DynSymTab ? InX::DynSymTab->getParent()->SectionIndex : 0;
+  Link = InX::DynSymTab ? InX::DynSymTab->getParent()->SectionIndex : 0;
 
   // Set required output section properties.
-  getParent()->Link = this->Link;
+  getParent()->Link = Link;
 }
 
 template <class ELFT>




More information about the llvm-commits mailing list