1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[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 d954f582bf
commit 0ec55f6781

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)