[PATCH] D76763: Export Segment.IsGapRegion to JSON

Dennis Felsing via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 05:22:37 PDT 2020


def updated this revision to Diff 252543.
def added a comment.

Fixed clang-format


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76763/new/

https://reviews.llvm.org/D76763

Files:
  llvm/tools/llvm-cov/CoverageExporterJson.cpp


Index: llvm/tools/llvm-cov/CoverageExporterJson.cpp
===================================================================
--- llvm/tools/llvm-cov/CoverageExporterJson.cpp
+++ llvm/tools/llvm-cov/CoverageExporterJson.cpp
@@ -72,8 +72,9 @@
 }
 
 json::Array renderSegment(const coverage::CoverageSegment &Segment) {
-  return json::Array({Segment.Line, Segment.Col, clamp_uint64_to_int64(Segment.Count),
-                      Segment.HasCount, Segment.IsRegionEntry});
+  return json::Array({Segment.Line, Segment.Col,
+                      clamp_uint64_to_int64(Segment.Count), Segment.HasCount,
+                      Segment.IsRegionEntry, Segment.IsGapRegion});
 }
 
 json::Array renderRegion(const coverage::CountedRegion &Region) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76763.252543.patch
Type: text/x-patch
Size: 736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200325/b60fba88/attachment.bin>


More information about the llvm-commits mailing list