[unittests] Delete even more copy constructors (NFC)

llvm-svn: 284069
This commit is contained in:
Vedant Kumar 2016-10-12 22:44:50 +00:00
parent 05384080df
commit 1edd169e4b
1 changed files with 10 additions and 0 deletions

View File

@ -106,6 +106,16 @@ struct InputFunctionCoverageData {
InputFunctionCoverageData(std::string Name, uint64_t Hash)
: Name(std::move(Name)), Hash(Hash) {}
InputFunctionCoverageData(InputFunctionCoverageData &&IFCD)
: ReverseVirtualFileMapping(std::move(IFCD.ReverseVirtualFileMapping)),
Name(std::move(IFCD.Name)), Hash(IFCD.Hash),
Regions(std::move(IFCD.Regions)) {}
InputFunctionCoverageData(const InputFunctionCoverageData &) = delete;
InputFunctionCoverageData &
operator=(const InputFunctionCoverageData &) = delete;
InputFunctionCoverageData &operator=(InputFunctionCoverageData &&) = delete;
};
struct CoverageMappingTest : ::testing::Test {