Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp367 using SubstringAndIndex = std::pair<StringRef, size_t>; typedef in clang::tooling::__anone90b9a300111::FileIndex
394 auto Award = [&](int Points, ArrayRef<SubstringAndIndex> Range) { in scoreCandidates()
461 ArrayRef<SubstringAndIndex>
462 indexLookup(StringRef Key, ArrayRef<SubstringAndIndex> Idx) const { in indexLookup()
470 SubstringAndIndex longestMatch(StringRef Key, in longestMatch()
471 ArrayRef<SubstringAndIndex> Idx) const { in longestMatch()
474 auto It = llvm::lower_bound(Idx, SubstringAndIndex{Key, 0}); in longestMatch()
491 std::vector<SubstringAndIndex> Paths; // Full path.
495 std::vector<SubstringAndIndex> Stems; // Basename, without extension.
496 std::vector<SubstringAndIndex> Components; // Last path components.