Searched refs:getRefs (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | FileIndexTests.cpp | 112 EXPECT_THAT(getRefs(*FS.buildIndex(IndexType::Light), SymbolID("1")), in TEST() 156 EXPECT_THAT(getRefs(*Symbols, ID), RefsAre({FileURI("f1.cc")})); in TEST() 161 EXPECT_THAT(getRefs(*Empty, ID), ElementsAre()); in TEST() 165 EXPECT_THAT(getRefs(*Symbols, ID), RefsAre({FileURI("f1.cc")})); in TEST() 364 EXPECT_THAT(getRefs(Index, Foo.ID), in TEST() 393 EXPECT_THAT(getRefs(Index, HeaderMacro.ID), in TEST() 398 EXPECT_THAT(getRefs(Index, MainFileMacro.ID), in TEST() 472 EXPECT_THAT(getRefs(Index, findSymbol(TU.headerSymbols(), "Foo").ID), in TEST()
|
D | SyncAPI.h | 57 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID);
|
D | SyncAPI.cpp | 137 RefSlab getRefs(const SymbolIndex &Index, SymbolID ID) { in getRefs() function
|
D | BackgroundIndexTests.cpp | 226 EXPECT_THAT(getRefs(Idx, Common.ID), in TEST_F()
|