Use a lambda to reduce code duplication.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 18 Dec 2015 22:40:27 +0000 (22:40 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 18 Dec 2015 22:40:27 +0000 (22:40 +0000)
commit3bca2f2bf524a858b83210a9b71c5b1e7e0020aa
tree1868c6f62b24e045ca2f4bbf6c6e769747d78800
parente9b93ea00be0f166c3e59d4f50f983bfc1d285ff
Use a lambda to reduce code duplication.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256050 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-extract/llvm-extract.cpp