mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
[unittests] Delete some copy constructors (NFC)
llvm-svn: 284066
This commit is contained in:
parent
0ec55f6781
commit
4d1a28e2f8
@ -55,6 +55,17 @@ struct OutputFunctionCoverageData {
|
||||
std::vector<StringRef> Filenames;
|
||||
std::vector<CounterMappingRegion> Regions;
|
||||
|
||||
OutputFunctionCoverageData() : Hash(0) {}
|
||||
|
||||
OutputFunctionCoverageData(OutputFunctionCoverageData &&OFCD)
|
||||
: Name(OFCD.Name), Hash(OFCD.Hash), Filenames(std::move(OFCD.Filenames)),
|
||||
Regions(std::move(OFCD.Regions)) {}
|
||||
|
||||
OutputFunctionCoverageData(const OutputFunctionCoverageData &) = delete;
|
||||
OutputFunctionCoverageData &
|
||||
operator=(const OutputFunctionCoverageData &) = delete;
|
||||
OutputFunctionCoverageData &operator=(OutputFunctionCoverageData &&) = delete;
|
||||
|
||||
void fillCoverageMappingRecord(CoverageMappingRecord &Record) const {
|
||||
Record.FunctionName = Name;
|
||||
Record.FunctionHash = Hash;
|
||||
|
Loading…
Reference in New Issue
Block a user