Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFileIndexTests.cpp85 std::unique_ptr<RefSlab> refSlab(const SymbolID &ID, const char *Path) { in refSlab() function
105 FS.update("f1", numSlab(1, 3), refSlab(SymbolID("1"), "f1.cc"), nullptr, in TEST()
148 FS.update("f1", numSlab(1, 3), refSlab(ID, "f1.cc"), nullptr, false); in TEST()
508 FS.update("f1cpp", numSlab(1, 3), refSlab(SymbolID("1"), "f1.cpp"), nullptr, in TEST()
510 FS.update("f1h", numSlab(1, 3), refSlab(SymbolID("1"), "f1.h"), nullptr, in TEST()
512 FS.update("f2cpp", numSlab(1, 3), refSlab(SymbolID("2"), "f2.cpp"), nullptr, in TEST()
514 FS.update("f2h", numSlab(1, 3), refSlab(SymbolID("2"), "f2.h"), nullptr, in TEST()
516 FS.update("f3cpp", numSlab(1, 3), refSlab(SymbolID("3"), "f3.cpp"), nullptr, in TEST()
518 FS.update("f3h", numSlab(1, 3), refSlab(SymbolID("3"), "f3.h"), nullptr, in TEST()
600 IF.Refs.emplace(std::move(*refSlab(Sym1.ID, BSourceUri.c_str()))); in TEST()
[all …]