llvm-cov: Return unique_ptrs instead of filling objects (NFC)
authorJustin Bogner <mail@justinbogner.com>
Fri, 19 Sep 2014 19:07:17 +0000 (19:07 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 19 Sep 2014 19:07:17 +0000 (19:07 +0000)
commit297149bafc50ba63347d4e96b616af9fc170cf04
tree667b20a00d7ec94cf76f179c55b27223573388ca
parentdcd8562eb704efe9c96e73b353439f4dc63f1405
llvm-cov: Return unique_ptrs instead of filling objects (NFC)

Having create* functions return the object they create is more
readable than using an in-out parameter.

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