forked from OSchip/llvm-project
[unittest] Pass a reference instead of making a copy (NFC)
llvm-svn: 284065
This commit is contained in:
parent
7cb9f009c8
commit
9a4abceb8c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue