Lines Matching refs:ViewOpts

141   CoverageViewOptions ViewOpts;  member in __anone83340200111::CodeCoverageTool
196 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in error()
202 ViewOpts.colored_ostream(errs(), raw_ostream::RED) in warning()
296 if (!ViewOpts.ShowExpandedRegions) in attachExpansionSubViews()
310 ViewOpts, std::move(ExpansionCoverage)); in attachExpansionSubViews()
323 if (!ViewOpts.ShowBranchCounts && !ViewOpts.ShowBranchPercents) in attachBranchSubViews()
338 auto SubView = SourceCoverageView::create(SourceName, File, ViewOpts, in attachBranchSubViews()
358 SourceBuffer.get(), ViewOpts, in createFunctionView()
380 ViewOpts, std::move(FileCoverage)); in createSourceFileView()
384 if (!ViewOpts.ShowFunctionInstantiations) in createSourceFileView()
402 Funcname, SourceBuffer.get(), ViewOpts, std::move(SubViewCoverage)); in createSourceFileView()
437 ViewOpts.CompilationDirectory); in load()
447 if (ViewOpts.Debug) { in load()
521 if (!ViewOpts.hasDemangler()) in demangleSymbols()
556 for (StringRef Arg : ViewOpts.DemanglerOpts) in demangleSymbols()
560 int RC = sys::ExecuteAndWait(ViewOpts.DemanglerOpts[0], ArgsV, in demangleSymbols()
564 error(ErrMsg, ViewOpts.DemanglerOpts[0]); in demangleSymbols()
613 /*ShowTitle=*/ViewOpts.hasOutputDirectory()); in writeSourceFileView()
754 ViewOpts.Debug = DebugDump; in run()
771 ViewOpts.Format = Format; in run()
772 switch (ViewOpts.Format) { in run()
774 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run()
781 ViewOpts.Colors = true; in run()
786 ViewOpts.Colors = false; in run()
814 ViewOpts.DemanglerOpts.swap(DemanglerOpts); in run()
903 ViewOpts.ShowBranchSummary = BranchSummary; in run()
904 ViewOpts.ShowRegionSummary = RegionSummary; in run()
905 ViewOpts.ShowInstantiationSummary = InstantiationSummary; in run()
906 ViewOpts.ExportSummaryOnly = SummaryOnly; in run()
907 ViewOpts.NumThreads = NumThreads; in run()
908 ViewOpts.CompilationDirectory = CompilationDirectory; in run()
986 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doShow()
991 ViewOpts.HighCovWatermark = 100.0; in doShow()
992 ViewOpts.LowCovWatermark = 80.0; in doShow()
1003 ViewOpts.HighCovWatermark = in doShow()
1012 ViewOpts.LowCovWatermark = in doShow()
1021 if (ViewOpts.HighCovWatermark > 100 || ViewOpts.LowCovWatermark < 0 || in doShow()
1022 ViewOpts.HighCovWatermark <= ViewOpts.LowCovWatermark) { in doShow()
1032 ViewOpts.ShowLineNumbers = true; in doShow()
1033 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
1035 ViewOpts.ShowRegionMarkers = ShowRegions || ShowBestLineRegionsCounts; in doShow()
1036 ViewOpts.ShowExpandedRegions = ShowExpansions; in doShow()
1037 ViewOpts.ShowBranchCounts = in doShow()
1039 ViewOpts.ShowBranchPercents = in doShow()
1041 ViewOpts.ShowFunctionInstantiations = ShowInstantiations; in doShow()
1042 ViewOpts.ShowOutputDirectory = ShowOutputDirectory; in doShow()
1043 ViewOpts.TabSize = TabSize; in doShow()
1044 ViewOpts.ProjectTitle = ProjectTitle; in doShow()
1046 if (ViewOpts.hasOutputDirectory()) { in doShow()
1047 if (auto E = sys::fs::create_directories(ViewOpts.ShowOutputDirectory)) { in doShow()
1062 ViewOpts.CreatedTimeStr = (found != std::string::npos) in doShow()
1070 auto Printer = CoveragePrinter::create(ViewOpts); in doShow()
1080 if (ViewOpts.hasOutputDirectory()) { in doShow()
1108 bool ShowTitle = ViewOpts.hasOutputDirectory(); in doShow()
1127 (SourceFiles.size() != 1) || ViewOpts.hasOutputDirectory() || in doShow()
1128 (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML); in doShow()
1130 ThreadPoolStrategy S = hardware_concurrency(ViewOpts.NumThreads); in doShow()
1131 if (ViewOpts.NumThreads == 0) { in doShow()
1138 if (!ViewOpts.hasOutputDirectory() || S.ThreadsRequested == 1) { in doShow()
1164 if (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML) { in doReport()
1167 } else if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) { in doReport()
1182 CoverageReport Report(ViewOpts, *Coverage.get()); in doReport()
1217 ViewOpts.SkipExpansions = SkipExpansions; in doExport()
1218 ViewOpts.SkipFunctions = SkipFunctions; in doExport()
1220 if (ViewOpts.Format != CoverageViewOptions::OutputFormat::Text && in doExport()
1221 ViewOpts.Format != CoverageViewOptions::OutputFormat::Lcov) { in doExport()
1241 switch (ViewOpts.Format) { in doExport()
1244 ViewOpts, outs()); in doExport()
1252 ViewOpts, outs()); in doExport()