[mach-o] fix whitespace
authorNick Kledzik <kledzik@apple.com>
Thu, 20 Nov 2014 21:41:53 +0000 (21:41 +0000)
committerNick Kledzik <kledzik@apple.com>
Thu, 20 Nov 2014 21:41:53 +0000 (21:41 +0000)
llvm-svn: 222457

lld/lib/ReaderWriter/MachO/File.h

index e01c6a8..fff6ef8 100644 (file)
@@ -118,13 +118,13 @@ public:
   MachODefinedAtom *findAtomCoveringAddress(const Section &section,
                                             uint64_t offsetInSect,
                                             uint32_t *foundOffsetAtom=nullptr) {
-    const autopos = _sectionAtoms.find(&section);
+    const auto &pos = _sectionAtoms.find(&section);
     if (pos == _sectionAtoms.end())
       return nullptr;
-    const autovec = pos->second;
+    const auto &vec = pos->second;
     assert(offsetInSect < section.content.size());
     // Vector of atoms for section are already sorted, so do binary search.
-    const autoatomPos = std::lower_bound(vec.begin(), vec.end(), offsetInSect,
+    const auto &atomPos = std::lower_bound(vec.begin(), vec.end(), offsetInSect,
         [offsetInSect](const SectionOffsetAndAtom &ao, 
                        uint64_t targetAddr) -> bool {
           // Each atom has a start offset of its slice of the