OSDN Git Service

[llvm-profdata] Clean up the way we create the input filenames buffer (NFC)
authorVedant Kumar <vsk@apple.com>
Sat, 4 Jun 2016 00:36:28 +0000 (00:36 +0000)
committerVedant Kumar <vsk@apple.com>
Sat, 4 Jun 2016 00:36:28 +0000 (00:36 +0000)
commitae73627d2a1c576c5d31ce98abfb010e92083b7b
tree1c4f428b8973f5df19d23cae09373610a0efcd50
parent909307bfdd9d629f991e41dbc70c3ee214bd1dda
[llvm-profdata] Clean up the way we create the input filenames buffer (NFC)

Create the buffer before calling parseInputFilenamesFile(), and add a
comment explaining why this is done.

Thanks to David Li for the suggestion!

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