diff options
author | Tim Northover <tnorthover@apple.com> | 2014-06-30 10:30:00 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-06-30 10:30:00 +0000 |
commit | b5bf686b58a8692726e4017c734f0c6d065e5ac5 (patch) | |
tree | bc4fb3282e6882327513de77c527ae8accbe6e7b /clang/unittests/libclang/LibclangTest.cpp | |
parent | 18eb25e85b31374debe59a7036f97d2cd7614a62 (diff) | |
download | llvm-b5bf686b58a8692726e4017c734f0c6d065e5ac5.zip llvm-b5bf686b58a8692726e4017c734f0c6d065e5ac5.tar.gz llvm-b5bf686b58a8692726e4017c734f0c6d065e5ac5.tar.bz2 |
MachO: stop iterating past the end of an array
When trying to map atom types to sections, we were iterating through an array
until we hit a sentinel value. There's no need for such dances when range-based
for loops are available.
llvm-svn: 212035
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions