[lld] r296315 - Remove unnecessary "this->".

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 26 19:10:07 PST 2017


Author: ruiu
Date: Sun Feb 26 21:10:06 2017
New Revision: 296315

URL: http://llvm.org/viewvc/llvm-project?rev=296315&view=rev
Log:
Remove unnecessary "this->".

Modified:
    lld/trunk/ELF/SyntheticSections.h

Modified: lld/trunk/ELF/SyntheticSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.h?rev=296315&r1=296314&r2=296315&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.h (original)
+++ lld/trunk/ELF/SyntheticSections.h Sun Feb 26 21:10:06 2017
@@ -451,7 +451,7 @@ public:
   GnuHashTableSection();
   void finalizeContents() override;
   void writeTo(uint8_t *Buf) override;
-  size_t getSize() const override { return this->Size; }
+  size_t getSize() const override { return Size; }
 
   // Adds symbols to the hash table.
   // Sorts the input to satisfy GNU hash section requirements.
@@ -486,7 +486,7 @@ public:
   HashTableSection();
   void finalizeContents() override;
   void writeTo(uint8_t *Buf) override;
-  size_t getSize() const override { return this->Size; }
+  size_t getSize() const override { return Size; }
 
 private:
   size_t Size = 0;




More information about the llvm-commits mailing list