• Home
  • Raw
  • Download

Lines Matching refs:Coverage

89                                const CoverageMapping &Coverage);
94 const CoverageMapping &Coverage);
98 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage);
105 void remapPathNames(const CoverageMapping &Coverage);
108 void removeUnmappedInputs(const CoverageMapping &Coverage);
111 void demangleSymbols(const CoverageMapping &Coverage);
114 void writeSourceFileView(StringRef SourceFile, CoverageMapping *Coverage,
260 const CoverageMapping &Coverage) { in attachExpansionSubViews() argument
264 auto ExpansionCoverage = Coverage.getCoverageForExpansion(Expansion); in attachExpansionSubViews()
275 attachExpansionSubViews(*SubView, SubViewExpansions, Coverage); in attachExpansionSubViews()
282 const CoverageMapping &Coverage) { in createFunctionView() argument
283 auto FunctionCoverage = Coverage.getCoverageForFunction(Function); in createFunctionView()
294 attachExpansionSubViews(*View, Expansions, Coverage); in createFunctionView()
301 const CoverageMapping &Coverage) { in createSourceFileView() argument
305 auto FileCoverage = Coverage.getCoverageForFile(SourceFile); in createSourceFileView()
312 attachExpansionSubViews(*View, Expansions, Coverage); in createSourceFileView()
316 for (const auto &Group : Coverage.getInstantiationGroups(SourceFile)) { in createSourceFileView()
327 auto SubViewCoverage = Coverage.getCoverageForFunction(*Function); in createSourceFileView()
331 attachExpansionSubViews(*SubView, SubViewExpansions, Coverage); in createSourceFileView()
368 auto Coverage = std::move(CoverageOrErr.get()); in load() local
369 unsigned Mismatched = Coverage->getMismatchedCount(); in load()
374 for (const auto &HashMismatch : Coverage->getHashMismatches()) in load()
382 remapPathNames(*Coverage); in load()
385 removeUnmappedInputs(*Coverage); in load()
387 demangleSymbols(*Coverage); in load()
389 return Coverage; in load()
392 void CodeCoverageTool::remapPathNames(const CoverageMapping &Coverage) { in remapPathNames() argument
411 for (StringRef Filename : Coverage.getUniqueSourceFiles()) { in remapPathNames()
436 void CodeCoverageTool::removeUnmappedInputs(const CoverageMapping &Coverage) { in removeUnmappedInputs() argument
437 std::vector<StringRef> CoveredFiles = Coverage.getUniqueSourceFiles(); in removeUnmappedInputs()
451 void CodeCoverageTool::demangleSymbols(const CoverageMapping &Coverage) { in demangleSymbols() argument
467 for (const auto &Function : Coverage.getCoveredFunctions()) { in demangleSymbols()
519 for (const auto &Function : Coverage.getCoveredFunctions()) in demangleSymbols()
526 CoverageMapping *Coverage, in writeSourceFileView() argument
529 auto View = createSourceFileView(SourceFile, *Coverage); in writeSourceFileView()
898 auto Coverage = load(); in doShow() local
899 if (!Coverage) in doShow()
906 for (StringRef Filename : Coverage->getUniqueSourceFiles()) { in doShow()
913 if (Error E = Printer->createIndexFile(SourceFiles, *Coverage, Filters)) { in doShow()
924 for (const auto &Function : Coverage->getCoveredFunctions(SourceFile)) in doShow()
925 if (Filters.matches(*Coverage.get(), Function)) in doShow()
942 auto FunctionView = createFunctionView(*Function, *Coverage); in doShow()
972 writeSourceFileView(SourceFile, Coverage.get(), Printer.get(), in doShow()
979 Coverage.get(), Printer.get(), ShowFilenames); in doShow()
1004 auto Coverage = load(); in doReport() local
1005 if (!Coverage) in doReport()
1008 CoverageReport Report(ViewOpts, *Coverage.get()); in doReport()
1053 auto Coverage = load(); in doExport() local
1054 if (!Coverage) { in doExport()
1063 Exporter = std::make_unique<CoverageExporterJson>(*Coverage.get(), in doExport()
1071 Exporter = std::make_unique<CoverageExporterLcov>(*Coverage.get(), in doExport()