Skip to content

Commit f721125

Browse files
committed
lint fix
1 parent 67ccd34 commit f721125

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

llvm/tools/llvm-cov/CoverageExporterJson.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
// -- Branches: array => List of Branches in the file
2222
// -- Branch: dict => Describes a branch of the file with counters
2323
// -- MCDC Records: array => List of MCDC records in the file
24-
// -- MCDC Values: array => List of T/F covered condition values and list of executed test vectors
24+
// -- MCDC Values: array => List of T/F covered condition values and
25+
// list of executed test vectors
2526
// -- Segments: array => List of Segments contained in the file
2627
// -- Segment: dict => Describes a segment of the file with a counter
2728
// -- Expansions: array => List of expansion records
@@ -139,11 +140,11 @@ json::Array gatherTestVectors(coverage::MCDCRecord &Record) {
139140
json::Array renderMCDCRecord(const coverage::MCDCRecord &Record) {
140141
const llvm::coverage::CounterMappingRegion &CMR = Record.getDecisionRegion();
141142
const auto [TrueDecisions, FalseDecisions] = Record.getDecisions();
142-
return json::Array({CMR.LineStart, CMR.ColumnStart, CMR.LineEnd,
143-
CMR.ColumnEnd, TrueDecisions, FalseDecisions,
144-
CMR.FileID, CMR.ExpandedFileID, int64_t(CMR.Kind),
145-
gatherConditions(Record),
146-
gatherTestVectors(const_cast<coverage::MCDCRecord &>(Record))});
143+
return json::Array(
144+
{CMR.LineStart, CMR.ColumnStart, CMR.LineEnd, CMR.ColumnEnd,
145+
TrueDecisions, FalseDecisions, CMR.FileID, CMR.ExpandedFileID,
146+
int64_t(CMR.Kind), gatherConditions(Record),
147+
gatherTestVectors(const_cast<coverage::MCDCRecord &>(Record))});
147148
}
148149

149150
json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) {

0 commit comments

Comments
 (0)