Lines Matching refs:ViewOpts

148   CoverageViewOptions ViewOpts;  member in __anon1c6dbef00111::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()
467 ViewOpts.CompilationDirectory, BIDFetcher.get(), CheckBinaryIDs); in load()
477 if (ViewOpts.Debug) { in load()
557 if (!ViewOpts.hasDemangler()) in demangleSymbols()
592 ArgsV.reserve(ViewOpts.DemanglerOpts.size()); in demangleSymbols()
593 llvm::append_range(ArgsV, ViewOpts.DemanglerOpts); in demangleSymbols()
598 sys::ExecuteAndWait(ViewOpts.DemanglerOpts[0], ArgsV, in demangleSymbols()
602 error(ErrMsg, ViewOpts.DemanglerOpts[0]); in demangleSymbols()
651 /*ShowTitle=*/ViewOpts.hasOutputDirectory()); in writeSourceFileView()
806 ViewOpts.Debug = DebugDump; in run()
839 ViewOpts.Format = Format; in run()
840 switch (ViewOpts.Format) { in run()
842 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run()
849 ViewOpts.Colors = true; in run()
854 ViewOpts.Colors = false; in run()
886 ViewOpts.DemanglerOpts.swap(DemanglerOpts); in run()
962 ViewOpts.ShowMCDCSummary = MCDCSummary; in run()
963 ViewOpts.ShowBranchSummary = BranchSummary; in run()
964 ViewOpts.ShowRegionSummary = RegionSummary; in run()
965 ViewOpts.ShowInstantiationSummary = InstantiationSummary; in run()
966 ViewOpts.ExportSummaryOnly = SummaryOnly; in run()
967 ViewOpts.NumThreads = NumThreads; in run()
968 ViewOpts.CompilationDirectory = CompilationDirectory; in run()
1065 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doShow()
1070 ViewOpts.HighCovWatermark = 100.0; in doShow()
1071 ViewOpts.LowCovWatermark = 80.0; in doShow()
1082 ViewOpts.HighCovWatermark = in doShow()
1091 ViewOpts.LowCovWatermark = in doShow()
1100 if (ViewOpts.HighCovWatermark > 100 || ViewOpts.LowCovWatermark < 0 || in doShow()
1101 ViewOpts.HighCovWatermark <= ViewOpts.LowCovWatermark) { in doShow()
1111 ViewOpts.ShowLineNumbers = true; in doShow()
1112 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
1114 ViewOpts.ShowRegionMarkers = ShowRegions || ShowBestLineRegionsCounts; in doShow()
1115 ViewOpts.ShowExpandedRegions = ShowExpansions; in doShow()
1116 ViewOpts.ShowBranchCounts = in doShow()
1118 ViewOpts.ShowMCDC = ShowMCDC; in doShow()
1119 ViewOpts.ShowBranchPercents = in doShow()
1121 ViewOpts.ShowFunctionInstantiations = ShowInstantiations; in doShow()
1122 ViewOpts.ShowDirectoryCoverage = ShowDirectoryCoverage; in doShow()
1123 ViewOpts.ShowOutputDirectory = ShowOutputDirectory; in doShow()
1124 ViewOpts.BinaryCounters = BinaryCounters; in doShow()
1125 ViewOpts.TabSize = TabSize; in doShow()
1126 ViewOpts.ProjectTitle = ProjectTitle; in doShow()
1128 if (ViewOpts.hasOutputDirectory()) { in doShow()
1129 if (auto E = sys::fs::create_directories(ViewOpts.ShowOutputDirectory)) { in doShow()
1146 ViewOpts.CreatedTimeStr = in doShow()
1157 auto Printer = CoveragePrinter::create(ViewOpts); in doShow()
1167 if (ViewOpts.hasOutputDirectory()) { in doShow()
1195 bool ShowTitle = ViewOpts.hasOutputDirectory(); in doShow()
1214 (SourceFiles.size() != 1) || ViewOpts.hasOutputDirectory() || in doShow()
1215 (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML); in doShow()
1217 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
1218 if (ViewOpts.NumThreads == 0) { in doShow()
1225 if (!ViewOpts.hasOutputDirectory() || S.ThreadsRequested == 1) { in doShow()
1251 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML) { in doReport()
1254 } else if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doReport()
1271 CoverageReport Report(ViewOpts, *Coverage); in doReport()
1314 ViewOpts.SkipExpansions = SkipExpansions; in doExport()
1315 ViewOpts.SkipFunctions = SkipFunctions; in doExport()
1316 ViewOpts.SkipBranches = SkipBranches; in doExport()
1317 ViewOpts.UnifyFunctionInstantiations = UnifyInstantiations; in doExport()
1319 if (ViewOpts.Format != CoverageViewOptions::OutputFormat::Text && in doExport()
1320 ViewOpts.Format != CoverageViewOptions::OutputFormat::Lcov) { in doExport()
1342 switch (ViewOpts.Format) { in doExport()
1345 std::make_unique<CoverageExporterJson>(*Coverage, ViewOpts, outs()); in doExport()
1353 std::make_unique<CoverageExporterLcov>(*Coverage, ViewOpts, outs()); in doExport()