Lines Matching refs:ViewOpts

141   CoverageViewOptions ViewOpts;  member in __anon1753d6240111::CodeCoverageTool
196 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in error()
202 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in warning()
297 if (!ViewOpts.ShowExpandedRegions) in attachExpansionSubViews()
311 ViewOpts, std::move(ExpansionCoverage)); in attachExpansionSubViews()
324 if (!ViewOpts.ShowBranchCounts && !ViewOpts.ShowBranchPercents) in attachBranchSubViews()
339 auto SubView = SourceCoverageView::create(SourceName, File, ViewOpts, in attachBranchSubViews()
359 SourceBuffer.get(), ViewOpts, in createFunctionView()
381 ViewOpts, std::move(FileCoverage)); in createSourceFileView()
385 if (!ViewOpts.ShowFunctionInstantiations) in createSourceFileView()
403 Funcname, SourceBuffer.get(), ViewOpts, std::move(SubViewCoverage)); in createSourceFileView()
438 ViewOpts.CompilationDirectory); in load()
449 if (ViewOpts.Debug) { in load()
523 if (!ViewOpts.hasDemangler()) in demangleSymbols()
558 for (StringRef Arg : ViewOpts.DemanglerOpts) in demangleSymbols()
562 int RC = sys::ExecuteAndWait(ViewOpts.DemanglerOpts[0], ArgsV, in demangleSymbols()
566 error(ErrMsg, ViewOpts.DemanglerOpts[0]); in demangleSymbols()
615 /*ShowTitle=*/ViewOpts.hasOutputDirectory()); in writeSourceFileView()
749 ViewOpts.Debug = DebugDump; in run()
766 ViewOpts.Format = Format; in run()
767 switch (ViewOpts.Format) { in run()
769 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run()
776 ViewOpts.Colors = true; in run()
781 ViewOpts.Colors = false; in run()
801 ViewOpts.DemanglerOpts.swap(DemanglerOpts); in run()
876 ViewOpts.ShowBranchSummary = BranchSummary; in run()
877 ViewOpts.ShowRegionSummary = RegionSummary; in run()
878 ViewOpts.ShowInstantiationSummary = InstantiationSummary; in run()
879 ViewOpts.ExportSummaryOnly = SummaryOnly; in run()
880 ViewOpts.NumThreads = NumThreads; in run()
881 ViewOpts.CompilationDirectory = CompilationDirectory; in run()
954 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doShow()
959 ViewOpts.ShowLineNumbers = true; in doShow()
960 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
962 ViewOpts.ShowRegionMarkers = ShowRegions || ShowBestLineRegionsCounts; in doShow()
963 ViewOpts.ShowExpandedRegions = ShowExpansions; in doShow()
964 ViewOpts.ShowBranchCounts = in doShow()
966 ViewOpts.ShowBranchPercents = in doShow()
968 ViewOpts.ShowFunctionInstantiations = ShowInstantiations; in doShow()
969 ViewOpts.ShowOutputDirectory = ShowOutputDirectory; in doShow()
970 ViewOpts.TabSize = TabSize; in doShow()
971 ViewOpts.ProjectTitle = ProjectTitle; in doShow()
973 if (ViewOpts.hasOutputDirectory()) { in doShow()
974 if (auto E = sys::fs::create_directories(ViewOpts.ShowOutputDirectory)) { in doShow()
989 ViewOpts.CreatedTimeStr = (found != std::string::npos) in doShow()
997 auto Printer = CoveragePrinter::create(ViewOpts); in doShow()
1007 if (ViewOpts.hasOutputDirectory()) { in doShow()
1035 bool ShowTitle = ViewOpts.hasOutputDirectory(); in doShow()
1054 (SourceFiles.size() != 1) || ViewOpts.hasOutputDirectory() || in doShow()
1055 (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML); in doShow()
1057 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
1058 if (ViewOpts.NumThreads == 0) { in doShow()
1065 if (!ViewOpts.hasOutputDirectory() || S.ThreadsRequested == 1) { in doShow()
1091 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML) { in doReport()
1094 } else if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doReport()
1103 CoverageReport Report(ViewOpts, *Coverage.get()); in doReport()
1138 ViewOpts.SkipExpansions = SkipExpansions; in doExport()
1139 ViewOpts.SkipFunctions = SkipFunctions; in doExport()
1141 if (ViewOpts.Format != CoverageViewOptions::OutputFormat::Text && in doExport()
1142 ViewOpts.Format != CoverageViewOptions::OutputFormat::Lcov) { in doExport()
1156 switch (ViewOpts.Format) { in doExport()
1159 ViewOpts, outs()); in doExport()
1167 ViewOpts, outs()); in doExport()