Lines Matching refs:ViewOpts

148   CoverageViewOptions ViewOpts;  member in __anoncbd5e3e50111::CodeCoverageTool
208 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in error()
214 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in warning()
308 if (!ViewOpts.ShowExpandedRegions) in attachExpansionSubViews()
322 ViewOpts, std::move(ExpansionCoverage)); in attachExpansionSubViews()
331 if (!ViewOpts.ShowBranchCounts && !ViewOpts.ShowBranchPercents) in attachBranchSubViews()
350 if (!ViewOpts.ShowMCDC) in attachMCDCSubViews()
383 SourceBuffer.get(), ViewOpts, in createFunctionView()
406 ViewOpts, std::move(FileCoverage)); in createSourceFileView()
410 if (!ViewOpts.ShowFunctionInstantiations) in createSourceFileView()
429 Funcname, SourceBuffer.get(), ViewOpts, std::move(SubViewCoverage)); in createSourceFileView()
465 ViewOpts.CompilationDirectory, BIDFetcher.get(), CheckBinaryIDs); in load()
475 if (ViewOpts.Debug) { in load()
555 if (!ViewOpts.hasDemangler()) in demangleSymbols()
590 ArgsV.reserve(ViewOpts.DemanglerOpts.size()); in demangleSymbols()
591 for (StringRef Arg : ViewOpts.DemanglerOpts) in demangleSymbols()
597 sys::ExecuteAndWait(ViewOpts.DemanglerOpts[0], ArgsV, in demangleSymbols()
601 error(ErrMsg, ViewOpts.DemanglerOpts[0]); in demangleSymbols()
650 /*ShowTitle=*/ViewOpts.hasOutputDirectory()); in writeSourceFileView()
800 ViewOpts.Debug = DebugDump; in run()
824 ViewOpts.Format = Format; in run()
825 switch (ViewOpts.Format) { in run()
827 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run()
834 ViewOpts.Colors = true; in run()
839 ViewOpts.Colors = false; in run()
871 ViewOpts.DemanglerOpts.swap(DemanglerOpts); in run()
947 ViewOpts.ShowMCDCSummary = MCDCSummary; in run()
948 ViewOpts.ShowBranchSummary = BranchSummary; in run()
949 ViewOpts.ShowRegionSummary = RegionSummary; in run()
950 ViewOpts.ShowInstantiationSummary = InstantiationSummary; in run()
951 ViewOpts.ExportSummaryOnly = SummaryOnly; in run()
952 ViewOpts.NumThreads = NumThreads; in run()
953 ViewOpts.CompilationDirectory = CompilationDirectory; in run()
1040 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doShow()
1045 ViewOpts.HighCovWatermark = 100.0; in doShow()
1046 ViewOpts.LowCovWatermark = 80.0; in doShow()
1057 ViewOpts.HighCovWatermark = in doShow()
1066 ViewOpts.LowCovWatermark = in doShow()
1075 if (ViewOpts.HighCovWatermark > 100 || ViewOpts.LowCovWatermark < 0 || in doShow()
1076 ViewOpts.HighCovWatermark <= ViewOpts.LowCovWatermark) { in doShow()
1086 ViewOpts.ShowLineNumbers = true; in doShow()
1087 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
1089 ViewOpts.ShowRegionMarkers = ShowRegions || ShowBestLineRegionsCounts; in doShow()
1090 ViewOpts.ShowExpandedRegions = ShowExpansions; in doShow()
1091 ViewOpts.ShowBranchCounts = in doShow()
1093 ViewOpts.ShowMCDC = ShowMCDC; in doShow()
1094 ViewOpts.ShowBranchPercents = in doShow()
1096 ViewOpts.ShowFunctionInstantiations = ShowInstantiations; in doShow()
1097 ViewOpts.ShowDirectoryCoverage = ShowDirectoryCoverage; in doShow()
1098 ViewOpts.ShowOutputDirectory = ShowOutputDirectory; in doShow()
1099 ViewOpts.TabSize = TabSize; in doShow()
1100 ViewOpts.ProjectTitle = ProjectTitle; in doShow()
1102 if (ViewOpts.hasOutputDirectory()) { in doShow()
1103 if (auto E = sys::fs::create_directories(ViewOpts.ShowOutputDirectory)) { in doShow()
1118 ViewOpts.CreatedTimeStr = (found != std::string::npos) in doShow()
1126 auto Printer = CoveragePrinter::create(ViewOpts); in doShow()
1136 if (ViewOpts.hasOutputDirectory()) { in doShow()
1164 bool ShowTitle = ViewOpts.hasOutputDirectory(); in doShow()
1183 (SourceFiles.size() != 1) || ViewOpts.hasOutputDirectory() || in doShow()
1184 (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML); in doShow()
1186 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
1187 if (ViewOpts.NumThreads == 0) { in doShow()
1194 if (!ViewOpts.hasOutputDirectory() || S.ThreadsRequested == 1) { in doShow()
1220 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML) { in doReport()
1223 } else if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doReport()
1238 CoverageReport Report(ViewOpts, *Coverage); in doReport()
1277 ViewOpts.SkipExpansions = SkipExpansions; in doExport()
1278 ViewOpts.SkipFunctions = SkipFunctions; in doExport()
1279 ViewOpts.SkipBranches = SkipBranches; in doExport()
1281 if (ViewOpts.Format != CoverageViewOptions::OutputFormat::Text && in doExport()
1282 ViewOpts.Format != CoverageViewOptions::OutputFormat::Lcov) { in doExport()
1302 switch (ViewOpts.Format) { in doExport()
1305 std::make_unique<CoverageExporterJson>(*Coverage, ViewOpts, outs()); in doExport()
1313 std::make_unique<CoverageExporterLcov>(*Coverage, ViewOpts, outs()); in doExport()