Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DDexTests.cpp477 TEST(Dex, Lookup) { in TEST() argument
488 TEST(Dex, FuzzyFind) { in TEST() argument
490 Dex::build(generateSymbols({"ns::ABC", "ns::BCD", "::ABC", in TEST()
527 auto I = Dex::build( in TEST()
539 auto I = Dex::build(generateSymbols({"_OneTwoFourSix"}), RefSlab(), in TEST()
629 auto I = Dex::build(generateSymbols({"a::y1", "a::b::y2", "c::y3"}), in TEST()
674 Dex I(Symbols, RefSlab(), RelationSlab()); in TEST()
690 Dex I(Symbols, RefSlab(), RelationSlab()); in TEST()
737 EXPECT_TRUE(Dex(std::vector<Symbol>{Foo, Bar}, Refs, RelationSlab()) in TEST()
754 Dex I{Symbols, RefSlab(), Relations}; in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/
H A DDex.h35 class Dex : public SymbolIndex {
39 Dex(SymbolRange &&Symbols, RefsRange &&Refs, RelationsRange &&Relations) in Dex() function
54 Dex(SymbolRange &&Symbols, RefsRange &&Refs, RelationsRange &&Relations, in Dex() function
56 : Dex(std::forward<SymbolRange>(Symbols), std::forward<RefsRange>(Refs), in Dex()
65 Dex(SymbolRange &&Symbols, RefsRange &&Refs, RelationsRange &&Relations, in Dex() function
68 : Dex(std::forward<SymbolRange>(Symbols), std::forward<RefsRange>(Refs), in Dex()
H A DDex.cpp34 std::unique_ptr<SymbolIndex> Dex::build(SymbolSlab Symbols, RefSlab Refs, in build()
40 return std::make_unique<Dex>(Data.first, Data.second, Rels, std::move(Data), in build()
122 void Dex::buildIndex() { in buildIndex()
151 std::unique_ptr<Iterator> Dex::iterator(const Token &Tok) const { in iterator()
158 std::unique_ptr<Iterator> Dex::createFileProximityIterator( in createFileProximityIterator()
211 bool Dex::fuzzyFind(const FuzzyFindRequest &Req, in fuzzyFind()
290 void Dex::lookup(const LookupRequest &Req, in lookup()
300 bool Dex::refs(const RefsRequest &Req, in refs()
316 void Dex::relations( in relations()
338 Dex::indexedFiles() const { in indexedFiles()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/benchmarks/
H A DIndexBenchmark.cpp86 const auto Dex = buildDex(); in dexQueries() local
90 Dex->fuzzyFind(Request, [](const Symbol &S) {}); in dexQueries()
/llvm-project-15.0.7/clang-tools-extra/clangd/test/Inputs/
H A DBenchmarkHeader.h4 class Dex; variable
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/
H A DBUILD.gn146 "index/dex/Dex.cpp",
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCMakeLists.txt130 index/dex/Dex.cpp
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DFileIndex.cpp392 return std::make_unique<dex::Dex>( in buildIndex()
H A DSerialization.cpp736 auto Index = UseDex ? dex::Dex::build(std::move(Symbols), std::move(Refs), in loadIndex()