Lines Matching refs:Snippets
206 std::vector<StringRef> Snippets; in collectSourceRanges() local
207 Snippets.reserve(Ranges.size()); in collectSourceRanges()
224 Snippets.emplace_back(Snippet); in collectSourceRanges()
227 return Snippets; in collectSourceRanges()
232 createIsolatedDecls(llvm::ArrayRef<StringRef> Snippets) { in createIsolatedDecls() argument
234 assert(Snippets.size() > 2 && "Not enough snippets to create isolated decls"); in createIsolatedDecls()
235 std::vector<std::string> Decls(Snippets.size() - 1); in createIsolatedDecls()
237 for (std::size_t I = 1; I < Snippets.size(); ++I) in createIsolatedDecls()
238 Decls[I - 1] = Twine(Snippets[0]) in createIsolatedDecls()
239 .concat(Snippets[0].endswith(" ") ? "" : " ") in createIsolatedDecls()
240 .concat(Snippets[I].ltrim()) in createIsolatedDecls()