Home | History | Annotate | Download | only in llvm-cov

Lines Matching defs:Snippet

294   //    snippet starts from Col=1 and ends at the start of the first segment.
295 // The last snippet starts at the last mapped column in the line and ends
302 assert(Start + Len <= Line.size() && "Snippet extends past the EOL");
310 assert(LCol == Segments[I - 1]->Col && "Snippet start position is wrong");
316 assert(LCol == Line.size() + 1 && "Final snippet doesn't reach the EOL");
324 // segment 1 to set the highlight for snippet 2, segment 2 to set the
325 // highlight for snippet 3, and so on.
328 auto Highlight = [&](const std::string &Snippet) {
329 return tag("span", Snippet, Color.getValue());
383 for (const auto &Snippet : Snippets)
384 OS << Snippet;