Searched refs:SubstringAndIndex (Results 1 – 1 of 1) sorted by relevance
371 using SubstringAndIndex = std::pair<StringRef, size_t>; typedef in clang::tooling::__anond7485b900111::FileIndex398 auto Award = [&](int Points, ArrayRef<SubstringAndIndex> Range) { in scoreCandidates()465 ArrayRef<SubstringAndIndex>466 indexLookup(StringRef Key, ArrayRef<SubstringAndIndex> Idx) const { in indexLookup()474 SubstringAndIndex longestMatch(StringRef Key, in longestMatch()475 ArrayRef<SubstringAndIndex> Idx) const { in longestMatch()478 auto It = llvm::lower_bound(Idx, SubstringAndIndex{Key, 0}); in longestMatch()495 std::vector<SubstringAndIndex> Paths; // Full path.499 std::vector<SubstringAndIndex> Stems; // Basename, without extension.500 std::vector<SubstringAndIndex> Components; // Last path components.