Apply suggestions from code review

Co-authored-by: Wesley Wiser <wwiser@gmail.com>
This commit is contained in:
Rich Kadel 2020-11-24 18:34:10 -08:00 committed by GitHub
parent 51268d2735
commit b5fef37d23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ impl CoverageMapGenerator {
);
// Create the coverage data header (Note, fields 0 and 2 are now always zero,
// as of `llvm::coverage::CovMapVersion::Version4`.
// as of `llvm::coverage::CovMapVersion::Version4`.)
let zero_was_n_records_val = cx.const_u32(0);
let filenames_size_val = cx.const_u32(filenames_size as u32);
let zero_was_coverage_size_val = cx.const_u32(0);