From: Nick Kledzik Date: Thu, 20 Nov 2014 21:41:53 +0000 (+0000) Subject: [mach-o] fix whitespace X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f78c64c6aefa4f837f904095500ab433e82ee27b;p=platform%2Fupstream%2Fllvm.git [mach-o] fix whitespace llvm-svn: 222457 --- diff --git a/lld/lib/ReaderWriter/MachO/File.h b/lld/lib/ReaderWriter/MachO/File.h index e01c6a8..fff6ef8 100644 --- a/lld/lib/ReaderWriter/MachO/File.h +++ b/lld/lib/ReaderWriter/MachO/File.h @@ -118,13 +118,13 @@ public: MachODefinedAtom *findAtomCoveringAddress(const Section §ion, uint64_t offsetInSect, uint32_t *foundOffsetAtom=nullptr) { - const auto& pos = _sectionAtoms.find(§ion); + const auto &pos = _sectionAtoms.find(§ion); if (pos == _sectionAtoms.end()) return nullptr; - const auto& vec = 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 auto& atomPos = 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