Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp378 using SubstringAndIndex = std::pair<StringRef, size_t>; typedef in clang::tooling::__anon983895e40111::FileIndex
405 auto Award = [&](int Points, ArrayRef<SubstringAndIndex> Range) { in scoreCandidates()
472 ArrayRef<SubstringAndIndex>
473 indexLookup(StringRef Key, ArrayRef<SubstringAndIndex> Idx) const { in indexLookup()
481 SubstringAndIndex longestMatch(StringRef Key, in longestMatch()
482 ArrayRef<SubstringAndIndex> Idx) const { in longestMatch()
485 auto It = llvm::lower_bound(Idx, SubstringAndIndex{Key, 0}); in longestMatch()
502 std::vector<SubstringAndIndex> Paths; // Full path.
506 std::vector<SubstringAndIndex> Stems; // Basename, without extension.
507 std::vector<SubstringAndIndex> Components; // Last path components.