[lld] r222457 - [mach-o] fix whitespace
Nick Kledzik
kledzik at apple.com
Thu Nov 20 13:41:53 PST 2014
Author: kledzik
Date: Thu Nov 20 15:41:53 2014
New Revision: 222457
URL: http://llvm.org/viewvc/llvm-project?rev=222457&view=rev
Log:
[mach-o] fix whitespace
Modified:
lld/trunk/lib/ReaderWriter/MachO/File.h
Modified: lld/trunk/lib/ReaderWriter/MachO/File.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/File.h?rev=222457&r1=222456&r2=222457&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/File.h (original)
+++ lld/trunk/lib/ReaderWriter/MachO/File.h Thu Nov 20 15:41:53 2014
@@ -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
More information about the llvm-commits
mailing list