aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-06-30 10:30:00 +0000
committerTim Northover <tnorthover@apple.com>2014-06-30 10:30:00 +0000
commitb5bf686b58a8692726e4017c734f0c6d065e5ac5 (patch)
treebc4fb3282e6882327513de77c527ae8accbe6e7b /clang/unittests/libclang/LibclangTest.cpp
parent18eb25e85b31374debe59a7036f97d2cd7614a62 (diff)
downloadllvm-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