reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-cov/CodeCoverage.cpp
  176   ViewOpts.colored_ostream(errs(), raw_ostream::RED)
  182   ViewOpts.colored_ostream(errs(), raw_ostream::RED)
  254   if (!ViewOpts.ShowExpandedRegions)
  267                                    ViewOpts, std::move(ExpansionCoverage));
  285                                          SourceBuffer.get(), ViewOpts,
  304                                          ViewOpts, std::move(FileCoverage));
  306   if (!ViewOpts.ShowFunctionInstantiations)
  323             Funcname, SourceBuffer.get(), ViewOpts, std::move(SubViewCoverage));
  366     if (ViewOpts.Debug) {
  442   if (!ViewOpts.hasDemangler())
  477   for (StringRef Arg : ViewOpts.DemanglerOpts)
  481   int RC = sys::ExecuteAndWait(ViewOpts.DemanglerOpts[0], ArgsV,
  485     error(ErrMsg, ViewOpts.DemanglerOpts[0]);
  534               /*ShowTitle=*/ViewOpts.hasOutputDirectory());
  656     ViewOpts.Debug = DebugDump;
  667     ViewOpts.Format = Format;
  668     switch (ViewOpts.Format) {
  670       ViewOpts.Colors = UseColor == cl::BOU_UNSET
  677       ViewOpts.Colors = true;
  682       ViewOpts.Colors = false;
  701       ViewOpts.DemanglerOpts.swap(DemanglerOpts);
  776     ViewOpts.ShowRegionSummary = RegionSummary;
  777     ViewOpts.ShowInstantiationSummary = InstantiationSummary;
  778     ViewOpts.ExportSummaryOnly = SummaryOnly;
  779     ViewOpts.NumThreads = NumThreads;
  843   if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) {
  848   ViewOpts.ShowLineNumbers = true;
  849   ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 ||
  851   ViewOpts.ShowRegionMarkers = ShowRegions || ShowBestLineRegionsCounts;
  852   ViewOpts.ShowExpandedRegions = ShowExpansions;
  853   ViewOpts.ShowFunctionInstantiations = ShowInstantiations;
  854   ViewOpts.ShowOutputDirectory = ShowOutputDirectory;
  855   ViewOpts.TabSize = TabSize;
  856   ViewOpts.ProjectTitle = ProjectTitle;
  858   if (ViewOpts.hasOutputDirectory()) {
  859     if (auto E = sys::fs::create_directories(ViewOpts.ShowOutputDirectory)) {
  874   ViewOpts.CreatedTimeStr = (found != std::string::npos)
  882   auto Printer = CoveragePrinter::create(ViewOpts);
  892   if (ViewOpts.hasOutputDirectory()) {
  920       bool ShowTitle = ViewOpts.hasOutputDirectory();
  939       (SourceFiles.size() != 1) || ViewOpts.hasOutputDirectory() ||
  940       (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML);
  942   auto NumThreads = ViewOpts.NumThreads;
  950   if (!ViewOpts.hasOutputDirectory() || NumThreads == 1) {
  976   if (ViewOpts.Format == CoverageViewOptions::OutputFormat::HTML) {
  979   } else if (ViewOpts.Format == CoverageViewOptions::OutputFormat::Lcov) {
  988   CoverageReport Report(ViewOpts, *Coverage.get());
 1023   ViewOpts.SkipExpansions = SkipExpansions;
 1024   ViewOpts.SkipFunctions = SkipFunctions;
 1026   if (ViewOpts.Format != CoverageViewOptions::OutputFormat::Text &&
 1027       ViewOpts.Format != CoverageViewOptions::OutputFormat::Lcov) {
 1041   switch (ViewOpts.Format) {
 1044                                                        ViewOpts, outs());
 1052                                                        ViewOpts, outs());