Lines Matching refs:ViewOpts

128   CoverageViewOptions ViewOpts;  member in __anonfa170d750111::CodeCoverageTool
177 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in error()
183 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in warning()
255 if (!ViewOpts.ShowExpandedRegions) in attachExpansionSubViews()
268 ViewOpts, std::move(ExpansionCoverage)); in attachExpansionSubViews()
286 SourceBuffer.get(), ViewOpts, in createFunctionView()
305 ViewOpts, std::move(FileCoverage)); in createSourceFileView()
307 if (!ViewOpts.ShowFunctionInstantiations) in createSourceFileView()
324 Funcname, SourceBuffer.get(), ViewOpts, std::move(SubViewCoverage)); in createSourceFileView()
367 if (ViewOpts.Debug) { in load()
443 if (!ViewOpts.hasDemangler()) in demangleSymbols()
478 for (StringRef Arg : ViewOpts.DemanglerOpts) in demangleSymbols()
482 int RC = sys::ExecuteAndWait(ViewOpts.DemanglerOpts[0], ArgsV, in demangleSymbols()
486 error(ErrMsg, ViewOpts.DemanglerOpts[0]); in demangleSymbols()
535 /*ShowTitle=*/ViewOpts.hasOutputDirectory()); in writeSourceFileView()
657 ViewOpts.Debug = DebugDump; in run()
668 ViewOpts.Format = Format; in run()
669 switch (ViewOpts.Format) { in run()
671 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run()
678 ViewOpts.Colors = true; in run()
683 ViewOpts.Colors = false; in run()
702 ViewOpts.DemanglerOpts.swap(DemanglerOpts); in run()
777 ViewOpts.ShowRegionSummary = RegionSummary; in run()
778 ViewOpts.ShowInstantiationSummary = InstantiationSummary; in run()
779 ViewOpts.ExportSummaryOnly = SummaryOnly; in run()
780 ViewOpts.NumThreads = NumThreads; in run()
844 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doShow()
849 ViewOpts.ShowLineNumbers = true; in doShow()
850 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
852 ViewOpts.ShowRegionMarkers = ShowRegions || ShowBestLineRegionsCounts; in doShow()
853 ViewOpts.ShowExpandedRegions = ShowExpansions; in doShow()
854 ViewOpts.ShowFunctionInstantiations = ShowInstantiations; in doShow()
855 ViewOpts.ShowOutputDirectory = ShowOutputDirectory; in doShow()
856 ViewOpts.TabSize = TabSize; in doShow()
857 ViewOpts.ProjectTitle = ProjectTitle; in doShow()
859 if (ViewOpts.hasOutputDirectory()) { in doShow()
860 if (auto E = sys::fs::create_directories(ViewOpts.ShowOutputDirectory)) { in doShow()
875 ViewOpts.CreatedTimeStr = (found != std::string::npos) in doShow()
883 auto Printer = CoveragePrinter::create(ViewOpts); in doShow()
893 if (ViewOpts.hasOutputDirectory()) { in doShow()
921 bool ShowTitle = ViewOpts.hasOutputDirectory(); in doShow()
940 (SourceFiles.size() != 1) || ViewOpts.hasOutputDirectory() || in doShow()
941 (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML); in doShow()
943 auto NumThreads = ViewOpts.NumThreads; in doShow()
951 if (!ViewOpts.hasOutputDirectory() || NumThreads == 1) { in doShow()
977 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML) { in doReport()
980 } else if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doReport()
989 CoverageReport Report(ViewOpts, *Coverage.get()); in doReport()
1014 if (ViewOpts.Format != CoverageViewOptions::OutputFormat::Text && in doExport()
1015 ViewOpts.Format != CoverageViewOptions::OutputFormat::Lcov) { in doExport()
1029 switch (ViewOpts.Format) { in doExport()
1032 ViewOpts, outs()); in doExport()
1040 ViewOpts, outs()); in doExport()