diff options
author | Alan Phipps <a-phipps@ti.com> | 2023-09-20 16:31:49 -0500 |
---|---|---|
committer | Alan Phipps <a-phipps@ti.com> | 2023-09-20 16:32:34 -0500 |
commit | ab3cd075b314995f213b6ca50b6b3b4a14c051bd (patch) | |
tree | 95682c4c1e8a0f41605e5e04b948312b25607872 /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
parent | 7f3467412ed52d6749b7c53f7934c4374c6d2a00 (diff) | |
download | llvm-ab3cd075b314995f213b6ca50b6b3b4a14c051bd.zip llvm-ab3cd075b314995f213b6ca50b6b3b4a14c051bd.tar.gz llvm-ab3cd075b314995f213b6ca50b6b3b4a14c051bd.tar.bz2 |
Revert "[Coverage][llvm-cov] Enable MC/DC Support in LLVM Source-based Code Coverage (2/3)"
This reverts commit 618a22144db5e45da8c95dc22064103e1b5e5b71.
Buildbots failing on windows and one other issue.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
-rw-r--r-- | llvm/tools/llvm-cov/SourceCoverageView.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/tools/llvm-cov/SourceCoverageView.cpp b/llvm/tools/llvm-cov/SourceCoverageView.cpp index c910edd..7480b7f 100644 --- a/llvm/tools/llvm-cov/SourceCoverageView.cpp +++ b/llvm/tools/llvm-cov/SourceCoverageView.cpp @@ -178,12 +178,6 @@ void SourceCoverageView::addBranch(unsigned Line, BranchSubViews.emplace_back(Line, Regions, std::move(View)); } -void SourceCoverageView::addMCDCRecord( - unsigned Line, ArrayRef<MCDCRecord> Records, - std::unique_ptr<SourceCoverageView> View) { - MCDCSubViews.emplace_back(Line, Records, std::move(View)); -} - void SourceCoverageView::addInstantiation( StringRef FunctionName, unsigned Line, std::unique_ptr<SourceCoverageView> View) { @@ -209,15 +203,12 @@ void SourceCoverageView::print(raw_ostream &OS, bool WholeFile, llvm::stable_sort(ExpansionSubViews); llvm::stable_sort(InstantiationSubViews); llvm::stable_sort(BranchSubViews); - llvm::stable_sort(MCDCSubViews); auto NextESV = ExpansionSubViews.begin(); auto EndESV = ExpansionSubViews.end(); auto NextISV = InstantiationSubViews.begin(); auto EndISV = InstantiationSubViews.end(); auto NextBRV = BranchSubViews.begin(); auto EndBRV = BranchSubViews.end(); - auto NextMSV = MCDCSubViews.begin(); - auto EndMSV = MCDCSubViews.end(); // Get the coverage information for the file. auto StartSegment = CoverageInfo.begin(); @@ -285,11 +276,6 @@ void SourceCoverageView::print(raw_ostream &OS, bool WholeFile, renderBranchView(OS, *NextBRV, ViewDepth + 1); RenderedSubView = true; } - for (; NextMSV != EndMSV && NextMSV->Line == LI.line_number(); ++NextMSV) { - renderViewDivider(OS, ViewDepth + 1); - renderMCDCView(OS, *NextMSV, ViewDepth + 1); - RenderedSubView = true; - } if (RenderedSubView) renderViewDivider(OS, ViewDepth + 1); renderLineSuffix(OS, ViewDepth); |