Use Child instead of child_iterator in the archive writer.
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 1 Nov 2015 00:10:37 +0000 (00:10 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 1 Nov 2015 00:10:37 +0000 (00:10 +0000)
commit25569fdcdab032ffe42f3595ae69b934247f3bbc
treee1ef449eb42c18a31761ca53213228743e7c9229
parent4784e1362fb4f27bc902156ad01e426490c2d2c0
Use Child instead of child_iterator in the archive writer.

We never need to pass end(). This will also remove some complication
once we start adding error checking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251758 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ArchiveWriter.h
lib/Object/ArchiveWriter.cpp
tools/llvm-ar/llvm-ar.cpp