[llvm] r314443 - Address further review feedback. (NFC)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 11:31:51 PDT 2017


Author: adrian
Date: Thu Sep 28 11:31:51 2017
New Revision: 314443

URL: http://llvm.org/viewvc/llvm-project?rev=314443&view=rev
Log:
Address further review feedback. (NFC)

Modified:
    llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h

Modified: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h?rev=314443&r1=314442&r2=314443&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h Thu Sep 28 11:31:51 2017
@@ -66,14 +66,14 @@ public:
     /// Construct a new iterator for the entries at \p DataOffset.
     ValueIterator(const DWARFAcceleratorTable &AccelTable, unsigned DataOffset);
     /// End marker.
-    ValueIterator() : NumData(0) {}
+    ValueIterator() = default;
 
     const ArrayRef<DWARFFormValue> operator*() const {
       return AtomForms;
     }
     ValueIterator &operator++() { Next(); return *this; }
     ValueIterator operator++(int) {
-      ValueIterator I(*this);
+      ValueIterator I = *this;
       Next();
       return I;
     }




More information about the llvm-commits mailing list