Lines Matching refs:ViewOpts
151 CoverageViewOptions ViewOpts; member in __anon90b360e60111::CodeCoverageTool
211 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in error()
217 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in warning()
311 if (!ViewOpts.ShowExpandedRegions) in attachExpansionSubViews()
325 ViewOpts, std::move(ExpansionCoverage)); in attachExpansionSubViews()
338 if (!ViewOpts.ShowBranchCounts && !ViewOpts.ShowBranchPercents) in attachBranchSubViews()
353 auto SubView = SourceCoverageView::create(SourceName, File, ViewOpts, in attachBranchSubViews()
365 if (!ViewOpts.ShowMCDC) in attachMCDCSubViews()
385 auto SubView = SourceCoverageView::create(SourceName, File, ViewOpts, in attachMCDCSubViews()
405 SourceBuffer.get(), ViewOpts, in createFunctionView()
430 ViewOpts, std::move(FileCoverage)); in createSourceFileView()
436 if (!ViewOpts.ShowFunctionInstantiations) in createSourceFileView()
455 Funcname, SourceBuffer.get(), ViewOpts, std::move(SubViewCoverage)); in createSourceFileView()
493 ViewOpts.CompilationDirectory, BIDFetcher.get(), CheckBinaryIDs); in load()
503 if (ViewOpts.Debug) { in load()
583 if (!ViewOpts.hasDemangler()) in demangleSymbols()
618 ArgsV.reserve(ViewOpts.DemanglerOpts.size()); in demangleSymbols()
619 for (StringRef Arg : ViewOpts.DemanglerOpts) in demangleSymbols()
625 sys::ExecuteAndWait(ViewOpts.DemanglerOpts[0], ArgsV, in demangleSymbols()
629 error(ErrMsg, ViewOpts.DemanglerOpts[0]); in demangleSymbols()
678 /*ShowTitle=*/ViewOpts.hasOutputDirectory()); in writeSourceFileView()
828 ViewOpts.Debug = DebugDump; in run()
852 ViewOpts.Format = Format; in run()
853 switch (ViewOpts.Format) { in run()
855 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run()
862 ViewOpts.Colors = true; in run()
867 ViewOpts.Colors = false; in run()
899 ViewOpts.DemanglerOpts.swap(DemanglerOpts); in run()
975 ViewOpts.ShowMCDCSummary = MCDCSummary; in run()
976 ViewOpts.ShowBranchSummary = BranchSummary; in run()
977 ViewOpts.ShowRegionSummary = RegionSummary; in run()
978 ViewOpts.ShowInstantiationSummary = InstantiationSummary; in run()
979 ViewOpts.ExportSummaryOnly = SummaryOnly; in run()
980 ViewOpts.NumThreads = NumThreads; in run()
981 ViewOpts.CompilationDirectory = CompilationDirectory; in run()
1068 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doShow()
1073 ViewOpts.HighCovWatermark = 100.0; in doShow()
1074 ViewOpts.LowCovWatermark = 80.0; in doShow()
1085 ViewOpts.HighCovWatermark = in doShow()
1094 ViewOpts.LowCovWatermark = in doShow()
1103 if (ViewOpts.HighCovWatermark > 100 || ViewOpts.LowCovWatermark < 0 || in doShow()
1104 ViewOpts.HighCovWatermark <= ViewOpts.LowCovWatermark) { in doShow()
1114 ViewOpts.ShowLineNumbers = true; in doShow()
1115 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
1117 ViewOpts.ShowRegionMarkers = ShowRegions || ShowBestLineRegionsCounts; in doShow()
1118 ViewOpts.ShowExpandedRegions = ShowExpansions; in doShow()
1119 ViewOpts.ShowBranchCounts = in doShow()
1121 ViewOpts.ShowMCDC = ShowMCDC; in doShow()
1122 ViewOpts.ShowBranchPercents = in doShow()
1124 ViewOpts.ShowFunctionInstantiations = ShowInstantiations; in doShow()
1125 ViewOpts.ShowDirectoryCoverage = ShowDirectoryCoverage; in doShow()
1126 ViewOpts.ShowOutputDirectory = ShowOutputDirectory; in doShow()
1127 ViewOpts.TabSize = TabSize; in doShow()
1128 ViewOpts.ProjectTitle = ProjectTitle; in doShow()
1130 if (ViewOpts.hasOutputDirectory()) { in doShow()
1131 if (auto E = sys::fs::create_directories(ViewOpts.ShowOutputDirectory)) { in doShow()
1146 ViewOpts.CreatedTimeStr = (found != std::string::npos) in doShow()
1154 auto Printer = CoveragePrinter::create(ViewOpts); in doShow()
1164 if (ViewOpts.hasOutputDirectory()) { in doShow()
1192 bool ShowTitle = ViewOpts.hasOutputDirectory(); in doShow()
1211 (SourceFiles.size() != 1) || ViewOpts.hasOutputDirectory() || in doShow()
1212 (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML); in doShow()
1214 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
1215 if (ViewOpts.NumThreads == 0) { in doShow()
1222 if (!ViewOpts.hasOutputDirectory() || S.ThreadsRequested == 1) { in doShow()
1248 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML) { in doReport()
1251 } else if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doReport()
1266 CoverageReport Report(ViewOpts, *Coverage); in doReport()
1305 ViewOpts.SkipExpansions = SkipExpansions; in doExport()
1306 ViewOpts.SkipFunctions = SkipFunctions; in doExport()
1307 ViewOpts.SkipBranches = SkipBranches; in doExport()
1309 if (ViewOpts.Format != CoverageViewOptions::OutputFormat::Text && in doExport()
1310 ViewOpts.Format != CoverageViewOptions::OutputFormat::Lcov) { in doExport()
1330 switch (ViewOpts.Format) { in doExport()
1333 std::make_unique<CoverageExporterJson>(*Coverage, ViewOpts, outs()); in doExport()
1341 std::make_unique<CoverageExporterLcov>(*Coverage, ViewOpts, outs()); in doExport()