diff options
| author | Nick Kledzik <kledzik@apple.com> | 2014-11-20 21:41:53 +0000 |
|---|---|---|
| committer | Nick Kledzik <kledzik@apple.com> | 2014-11-20 21:41:53 +0000 |
| commit | f78c64c6aefa4f837f904095500ab433e82ee27b (patch) | |
| tree | 233a15df1c4f57e863134f539c01bd6ec3e1480d | |
| parent | 4572f3b10a437ee87da01aca68a7d92a5575bb83 (diff) | |
| download | bcm5719-llvm-f78c64c6aefa4f837f904095500ab433e82ee27b.tar.gz bcm5719-llvm-f78c64c6aefa4f837f904095500ab433e82ee27b.zip | |
[mach-o] fix whitespace
llvm-svn: 222457
| -rw-r--r-- | lld/lib/ReaderWriter/MachO/File.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/MachO/File.h b/lld/lib/ReaderWriter/MachO/File.h index e01c6a894f5..fff6ef89aad 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 |

