Home
last modified time | relevance | path

Searched refs:SubstringAndIndex (Results 1 – 1 of 1) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp369 using SubstringAndIndex = std::pair<StringRef, size_t>; typedef in clang::tooling::__anonad4080680111::FileIndex
396 auto Award = [&](int Points, ArrayRef<SubstringAndIndex> Range) { in scoreCandidates()
463 ArrayRef<SubstringAndIndex>
464 indexLookup(StringRef Key, ArrayRef<SubstringAndIndex> Idx) const { in indexLookup()
472 SubstringAndIndex longestMatch(StringRef Key, in longestMatch()
473 ArrayRef<SubstringAndIndex> Idx) const { in longestMatch()
477 std::lower_bound(Idx.begin(), Idx.end(), SubstringAndIndex{Key, 0}); in longestMatch()
494 std::vector<SubstringAndIndex> Paths; // Full path.
498 std::vector<SubstringAndIndex> Stems; // Basename, without extension.
499 std::vector<SubstringAndIndex> Components; // Last path components.