mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 12:21:04 +00:00
[unittests] Use coveragemap_error in CoverageMappingReaderMock (NFC)
llvm-svn: 269324
This commit is contained in:
parent
9f768c1e2c
commit
76590792bb
@ -72,12 +72,12 @@ struct CoverageMappingReaderMock : CoverageMappingReader {
|
||||
|
||||
std::error_code readNextRecord(CoverageMappingRecord &Record) override {
|
||||
if (Functions.empty())
|
||||
return instrprof_error::eof;
|
||||
return coveragemap_error::eof;
|
||||
|
||||
Functions.front().fillCoverageMappingRecord(Record);
|
||||
Functions = Functions.slice(1);
|
||||
|
||||
return instrprof_error::success;
|
||||
return coveragemap_error::success;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user