[unittest] Pass a reference instead of making a copy (NFC)

llvm-svn: 284065
This commit is contained in:
Vedant Kumar 2016-10-12 22:27:52 +00:00
parent 7cb9f009c8
commit 9a4abceb8c
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ struct CoverageMappingTest : ::testing::Test {
return OS.str();
}
void readCoverageRegions(std::string Coverage,
void readCoverageRegions(const std::string &Coverage,
OutputFunctionCoverageData &Data) {
SmallVector<StringRef, 8> Filenames(Files.size());
for (const auto &E : Files)