So that external tools can make use of that information and not display such lines as uncovered.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for doing this. Yes, I think a patch version bump would be appropriate. Also, please update test/tools/llvm-cov/Inputs/binary-formats.canonical.json to test this change.
clang-format: please reformat the code
- return json::Array({Segment.Line, Segment.Col, clamp_uint64_to_int64(Segment.Count), - Segment.HasCount, Segment.IsRegionEntry, Segment.IsGapRegion}); + return json::Array({Segment.Line, Segment.Col, + clamp_uint64_to_int64(Segment.Count), Segment.HasCount, + Segment.IsRegionEntry, Segment.IsGapRegion});