Lines Matching refs:Refs
279 Refs = Factory->Collector->takeRefs();
291 RefSlab Refs; member in clang::clangd::__anon67d79e040111::SymbolCollectorTest
665 TEST_F(SymbolCollectorTest, Refs) { in TEST_F() argument
703 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "Foo").ID, in TEST_F()
705 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "Bar").ID, in TEST_F()
707 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "func").ID, in TEST_F()
709 EXPECT_THAT(Refs, Not(Contains(Pair(findSymbol(Symbols, "NS").ID, _)))); in TEST_F()
710 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "MACRO").ID, in TEST_F()
716 EXPECT_THAT(Refs, Contains(Pair(findSymbol(MainSymbols, "a").ID, _))); in TEST_F()
717 EXPECT_THAT(Refs, Contains(Pair(findSymbol(MainSymbols, "b").ID, _))); in TEST_F()
718 EXPECT_THAT(Refs, Not(Contains(Pair(findSymbol(MainSymbols, "c").ID, _)))); in TEST_F()
719 EXPECT_THAT(Refs, Not(Contains(Pair(findSymbol(MainSymbols, "FUNC").ID, _)))); in TEST_F()
729 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "a").ID, _))); in TEST_F()
730 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "b").ID, _))); in TEST_F()
731 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "c").ID, _))); in TEST_F()
733 EXPECT_THAT(Refs, Not(Contains(Pair(findSymbol(Symbols, "FUNC").ID, _)))); in TEST_F()
762 for (auto &Entry : Refs) { in TEST_F()
838 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "FOO").ID, in TEST_F()
840 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "BAR").ID, in TEST_F()
843 EXPECT_THAT(Refs, Contains(Pair(_, HaveRanges(Header.ranges("ud1"))))); in TEST_F()
844 EXPECT_THAT(Refs, Contains(Pair(_, HaveRanges(Header.ranges("ud2"))))); in TEST_F()
845 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "CONCAT").ID, in TEST_F()
847 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "PREPEND").ID, in TEST_F()
849 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "MACROA").ID, in TEST_F()
862 EXPECT_THAT(Refs, Contains(Pair(_, HaveRanges(Header.ranges("foo"))))); in TEST_F()
870 EXPECT_THAT(Refs, IsEmpty()); in TEST_F()
920 for (const auto &SymbolAndRefs : Refs) { in TEST_F()
953 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "Foo").ID, in TEST_F()
976 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "Foo").ID, in TEST_F()
994 EXPECT_THAT(Refs, in TEST_F()
1005 EXPECT_THAT(Refs, in TEST_F()
1015 EXPECT_THAT(Refs, in TEST_F()
1031 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "Foo").ID, in TEST_F()
1033 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "MACRO").ID, in TEST_F()
1769 EXPECT_THAT(Refs, Contains(Pair(findSymbol(Symbols, "PUNCT").ID, _))); in TEST_F()