/external/llvm-project/clang-tools-extra/clangd/index/ |
D | Relation.h | 52 class RelationSlab { 58 RelationSlab() = default; 59 RelationSlab(RelationSlab &&Slab) = default; 60 RelationSlab &operator=(RelationSlab &&RHS) = default; 83 RelationSlab build() &&; 90 RelationSlab(std::vector<Relation> Relations) in RelationSlab() function
|
D | Relation.cpp | 30 llvm::iterator_range<RelationSlab::iterator> 31 RelationSlab::lookup(const SymbolID &Subject, RelationKind Predicate) const { in lookup() 41 RelationSlab RelationSlab::Builder::build() && { in build() 49 return RelationSlab{std::move(Relations)}; in build()
|
D | FileIndex.h | 80 std::unique_ptr<RelationSlab> Relations, bool CountReferences); 103 llvm::StringMap<std::shared_ptr<RelationSlab>> RelationsSnapshot; 156 using SlabTuple = std::tuple<SymbolSlab, RefSlab, RelationSlab>;
|
D | FileIndex.cpp | 210 RelationSlab::Builder RelB; in getShard() 241 std::unique_ptr<RelationSlab> Relations, in update() 268 std::vector<std::shared_ptr<RelationSlab>> RelationSlabs; in buildIndex() 352 for (const auto &RelationSlab : RelationSlabs) { in buildIndex() local 353 for (const auto &R : *RelationSlab) in buildIndex() 431 std::make_unique<RelationSlab>(std::move(*IF->Relations)), in updatePreamble() 458 std::make_unique<RelationSlab>(std::move(std::get<2>(Contents))), in updateMain()
|
D | Serialization.h | 45 llvm::Optional<RelationSlab> Relations; 58 const RelationSlab *Relations = nullptr;
|
D | IndexAction.cpp | 133 std::function<void(RelationSlab)> RelationsCallback, in IndexAction() 195 std::function<void(RelationSlab)> RelationsCallback; 210 std::function<void(RelationSlab)> RelationsCallback, in createStaticIndexingAction()
|
D | SymbolCollector.h | 118 RelationSlab takeRelations() { return std::move(Relations).build(); } in takeRelations() 153 RelationSlab::Builder Relations;
|
D | IndexAction.h | 30 std::function<void(RelationSlab)> RelationsCallback,
|
D | Background.cpp | 245 std::make_unique<RelationSlab>(std::move(*IF->Relations)), in update() 310 [&](RelationSlab R) { Index.Relations = std::move(R); }, in index() 383 ? std::make_unique<RelationSlab>(std::move(*LS.Shard->Relations)) in loadProject()
|
D | MemIndex.h | 49 RelationSlab Relations);
|
D | MemIndex.cpp | 20 RelationSlab Relations) { in build()
|
D | Serialization.cpp | 525 RelationSlab::Builder Relations; in readRIFF() 709 RelationSlab Relations; in loadIndex()
|
D | YAMLSerialization.cpp | 443 RelationSlab::Builder Relations; in readYAML()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | IndexTests.cpp | 79 TEST(RelationSlab, Lookup) { in TEST() argument 85 RelationSlab::Builder Builder; in TEST() 91 RelationSlab Slab = std::move(Builder).build(); in TEST() 97 TEST(RelationSlab, Duplicates) { in TEST() argument 102 RelationSlab::Builder Builder; in TEST() 107 RelationSlab Slab = std::move(Builder).build(); in TEST() 117 RelationSlab(), std::move(Token), in TEST() 130 MemIndex I(Symbols, RefSlab(), RelationSlab()); in TEST() 136 MemIndex::build(generateNumSymbols(0, 100), RefSlab(), RelationSlab()); in TEST() 151 RefSlab(), RelationSlab()); in TEST() [all …]
|
D | DexTests.cpp | 468 RelationSlab()); in TEST() 481 RefSlab(), RelationSlab()); in TEST() 503 auto I = Dex::build(generateNumSymbols(0, 100), RefSlab(), RelationSlab()); in TEST() 518 RefSlab(), RelationSlab()); in TEST() 529 RelationSlab()); in TEST() 552 RelationSlab()); in TEST() 561 RelationSlab()); in TEST() 571 RefSlab(), RelationSlab()); in TEST() 581 RefSlab(), RelationSlab()); in TEST() 590 RelationSlab()); in TEST() [all …]
|
D | ProjectAwareIndexTests.cpp | 32 return MemIndex::build(std::move(Builder).build(), RefSlab(), RelationSlab()); in createIndex()
|
D | FileIndexTests.cpp | 97 std::unique_ptr<RelationSlab> relSlab(llvm::ArrayRef<const Relation> Rels) { in relSlab() 98 RelationSlab::Builder RelBuilder; in relSlab() 101 return std::make_unique<RelationSlab>(std::move(RelBuilder).build()); in relSlab() 606 RelationSlab::Builder B; in TEST()
|
D | IndexActionTests.cpp | 81 [&](RelationSlab R) { IndexFile.Relations = std::move(R); }, in __anon7e85be7d0402()
|
D | SerializationTests.cpp | 207 std::vector<std::string> YAMLFromRelations(const RelationSlab &Slab) { in YAMLFromRelations()
|
D | DiagnosticsTests.cpp | 727 return MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in buildIndexWithSymbol() 832 MemIndex::build(std::move(Slab).build(), RefSlab(), RelationSlab()); in TEST()
|
D | HoverTests.cpp | 2030 MemIndex::build(std::move(Symbols).build(), RefSlab(), RelationSlab()); in TEST() 2085 MemIndex::build(std::move(Symbols).build(), RefSlab(), RelationSlab()); in TEST()
|
D | SymbolCollectorTests.cpp | 292 RelationSlab Relations;
|
/external/llvm-project/clang-tools-extra/clangd/indexer/ |
D | IndexerMain.cpp | 76 [&](RelationSlab S) { in create() 102 RelationSlab::Builder Relations;
|
/external/llvm-project/clang-tools-extra/clangd/index/dex/ |
D | Dex.h | 71 static std::unique_ptr<SymbolIndex> build(SymbolSlab, RefSlab, RelationSlab);
|
D | Dex.cpp | 27 RelationSlab Rels) { in build()
|