Lines Matching full:expansion
27 // -- Expansions: array => List of expansion records
28 // -- Expansion: dict => Object that descibes a single expansion
30 // -- TargetRegions: array => List of Regions in the expansion
31 // -- CountedRegion: dict => Single Region in the expansion
32 // -- Branches: array => List of Branches in the expansion
33 // -- Branch: dict => Describes a branch in expansion and counters
144 for (const auto &Expansion : Expansions) {
145 auto ExpansionCoverage = Coverage.getCoverageForExpansion(Expansion);
152 // Add branches from this level of expansion.
155 if (B.FileID == Expansion.FileID)
163 const coverage::ExpansionRecord &Expansion) {
164 std::vector<llvm::coverage::ExpansionRecord> Expansions = {Expansion};
166 {{"filenames", json::Array(Expansion.Function.Filenames)},
167 // Mark the beginning and end of this expansion in the source file.
168 {"source_region", renderRegion(Expansion.Region)},
169 // Enumerate the coverage information for the expansion.
170 {"target_regions", renderRegions(Expansion.Function.CountedRegions)},
171 // Enumerate the branch coverage information for the expansion.
220 for (const auto &Expansion : FileCoverage.getExpansions())
221 ExpansionArray.push_back(renderExpansion(Coverage, Expansion));