Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp368 using SubstringAndIndex = std::pair<StringRef, size_t>; typedef in clang::tooling::__anon16cad0690111::FileIndex
395 auto Award = [&](int Points, ArrayRef<SubstringAndIndex> Range) { in scoreCandidates()
462 ArrayRef<SubstringAndIndex>
463 indexLookup(StringRef Key, ArrayRef<SubstringAndIndex> Idx) const { in indexLookup()
471 SubstringAndIndex longestMatch(StringRef Key, in longestMatch()
472 ArrayRef<SubstringAndIndex> Idx) const { in longestMatch()
475 auto It = llvm::lower_bound(Idx, SubstringAndIndex{Key, 0}); in longestMatch()
492 std::vector<SubstringAndIndex> Paths; // Full path.
496 std::vector<SubstringAndIndex> Stems; // Basename, without extension.
497 std::vector<SubstringAndIndex> Components; // Last path components.