Skip to content

Commit ca22d6e

Browse files
committed
[Coverage] Fix -Wswitch after D138847
1 parent 8b04f1e commit ca22d6e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clang/lib/CodeGen/CoverageMappingGen.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,6 +1629,12 @@ static void dump(llvm::raw_ostream &OS, StringRef FunctionName,
16291629
case CounterMappingRegion::BranchRegion:
16301630
OS << "Branch,";
16311631
break;
1632+
case CounterMappingRegion::MCDCDecisionRegion:
1633+
OS << "MCDCDecisionRegion,";
1634+
break;
1635+
case CounterMappingRegion::MCDCBranchRegion:
1636+
OS << "MCDCBranchRegion,";
1637+
break;
16321638
}
16331639

16341640
OS << "File " << R.FileID << ", " << R.LineStart << ":" << R.ColumnStart

0 commit comments

Comments
 (0)