reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
  166   EXPECT_THAT(Syms, UnorderedElementsAre(Named("common")));
  228                 UnorderedElementsAre(FileURI("unittest:///root/A.h")));
  236                 UnorderedElementsAre(FileURI("unittest:///root/A.cc")));
  243               UnorderedElementsAre(Relation{A, RelationKind::BaseOf, B}));
  281       UnorderedElementsAre("unittest:///root/A.h"));
  292       UnorderedElementsAre("unittest:///root/B.h"));
  498     EXPECT_THAT(*Shard->Symbols, UnorderedElementsAre(Named("foo")));
  507     EXPECT_THAT(*Shard->Symbols, UnorderedElementsAre(Named("foo")));
  509                 UnorderedElementsAre("unittest:///A.h"));
  515     EXPECT_THAT(*Shard->Symbols, UnorderedElementsAre(Named("asdf")));
  525                 UnorderedElementsAre("unittest:///C.h"));
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
  510       UnorderedElementsAre(AllOf(Named("a"), Kind(CompletionItemKind::Field))));
  582   EXPECT_THAT(Results.Completions, UnorderedElementsAre(Named("XYZ")));
  996               UnorderedElementsAre(Labeled("X(int A = 0)")));
  998               UnorderedElementsAre(AllOf(Labeled("Y(int A, int B = 0)"),
 1001               UnorderedElementsAre(
 1297                                           UnorderedElementsAre("a::bar::"))));
 1323                                           UnorderedElementsAre(""))));
 1655   EXPECT_THAT(Results.Completions, UnorderedElementsAre(Named("NotRecovered")));
 1667               UnorderedElementsAre(AllOf(Scope("ns::X::"), Named("x_"))));
 1802   EXPECT_THAT(R.additionalTextEdits, UnorderedElementsAre(FixIt));
 2014     EXPECT_THAT(Results.Completions, UnorderedElementsAre(AllOf(
 2027         UnorderedElementsAre(AllOf(Named("xfoo"), SnippetSuffix("($0)"))));
 2038         UnorderedElementsAre(AllOf(Named("xfoo"), SnippetSuffix("<$1>($0)"))));
 2159   EXPECT_THAT(Reqs1[0].Scopes, UnorderedElementsAre("ns1::"));
 2205       UnorderedElementsAre(
 2217               UnorderedElementsAre(Named("Clangd_Macro_Test")));
 2375               UnorderedElementsAre(
 2564               UnorderedElementsAre(AllOf(Qualifier(""), Named("XYZ"))));
 2579               UnorderedElementsAre(AllOf(Qualifier(""), Named("XYZ"))));
 2596               UnorderedElementsAre(AllOf(Qualifier(""), Named("ABCDE"))));
tools/clang/tools/extra/clangd/unittests/DexTests.cpp
  461   EXPECT_THAT(lookup(*I, SymbolID("ns::abc")), UnorderedElementsAre("ns::abc"));
  465               UnorderedElementsAre("ns::xyz"));
  477   EXPECT_THAT(match(*Index, Req), UnorderedElementsAre("ns::ABC"));
  557   EXPECT_THAT(match(*I, Req), UnorderedElementsAre("y3"));
  586   EXPECT_THAT(match(*I, Req), UnorderedElementsAre("a::y1"));
  621   EXPECT_THAT(lookup(*I, SymbolID("ns::abc")), UnorderedElementsAre("ns::abc"));
  625               UnorderedElementsAre("ns::xyz"));
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp
  194       UnorderedElementsAre(::testing::AllOf(
  214       UnorderedElementsAre(::testing::AllOf(
  282       UnorderedElementsAre(::testing::AllOf(
  300       UnorderedElementsAre(::testing::AllOf(
  349       UnorderedElementsAre(::testing::AllOf(
  657               UnorderedElementsAre(AllOf(
  677       UnorderedElementsAre(Diag(Test.range(), "no member named 'xy' in 'X'")));
  734       UnorderedElementsAre(AllOf(
  800               UnorderedElementsAre(AllOf(
  835               UnorderedElementsAre(AllOf(
  848               UnorderedElementsAre(
  877               UnorderedElementsAre(Diag(Main.range(),
  894               UnorderedElementsAre(
  923               UnorderedElementsAre(
  938               UnorderedElementsAre(AllOf(
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp
  122         UnorderedElementsAre(
tools/clang/tools/extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
  254     EXPECT_THAT(DiscoveredFiles, UnorderedElementsAre(AllOf(
  261     EXPECT_THAT(DiscoveredFiles, UnorderedElementsAre(EndsWith("gen.cc")));
  299   EXPECT_THAT(DiscoveredFiles, UnorderedElementsAre(testPath("a.cc")));
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp
  147               UnorderedElementsAre(
  166       UnorderedElementsAre(AllOf(Written("\"bar.h\""), Resolved(BarHeader))));
  199               UnorderedElementsAre(AllOf(Written("\"foo.h\""), Resolved(""))));
  201               UnorderedElementsAre(Distance(MainFile, 0u)));
tools/clang/tools/extra/clangd/unittests/IndexTests.cpp
  175   EXPECT_THAT(match(*I, Req), UnorderedElementsAre("y3"));
  204   EXPECT_THAT(match(*I, Req), UnorderedElementsAre("a::y1"));
  219   EXPECT_THAT(lookup(*I, SymbolID("ns::abc")), UnorderedElementsAre("ns::abc"));
  223               UnorderedElementsAre("ns::xyz"));
  268   EXPECT_THAT(lookup(M, SymbolID("ns::A")), UnorderedElementsAre("ns::A"));
  269   EXPECT_THAT(lookup(M, SymbolID("ns::B")), UnorderedElementsAre("ns::B"));
  270   EXPECT_THAT(lookup(M, SymbolID("ns::C")), UnorderedElementsAre("ns::C"));
  443               UnorderedElementsAre(IncludeHeaderWithRef("common", 2u)));
tools/clang/tools/extra/clangd/unittests/SerializationTests.cpp
  146       UnorderedElementsAre(Pair(cantFail(SymbolID::fromStr("057557CEBF6E6B2D")),
  157       UnorderedElementsAre(Relation{Base, RelationKind::BaseOf, Derived}));
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp
  729   EXPECT_THAT(Symbols, UnorderedElementsAre(
  739   EXPECT_THAT(Symbols, UnorderedElementsAre(
  748   EXPECT_THAT(Symbols, UnorderedElementsAre(
  822   EXPECT_THAT(Symbols, UnorderedElementsAre(AllOf(
  982   EXPECT_THAT(Symbols, UnorderedElementsAre(
  985               UnorderedElementsAre(IncludeHeaderWithRef(TestHeaderURI, 1u)));
 1011   EXPECT_THAT(Symbols, UnorderedElementsAre(
 1026   EXPECT_THAT(Symbols, UnorderedElementsAre(
 1067   EXPECT_THAT(Symbols, UnorderedElementsAre(AllOf(QName("X"), DeclURI(IncURI),
 1083   EXPECT_THAT(Symbols, UnorderedElementsAre(AllOf(QName("X"), DeclURI(IncURI),
 1165   EXPECT_THAT(Symbols, UnorderedElementsAre(AllOf(
 1174   EXPECT_THAT(Symbols, UnorderedElementsAre(
 1224   EXPECT_THAT(Symbols, UnorderedElementsAre(
tools/clang/tools/extra/clangd/unittests/TypeHierarchyTests.cpp
   46                HasValue(UnorderedElementsAre(ParentsM...)));
   51                HasValue(UnorderedElementsAre(ChildrenM...)));
tools/lldb/unittests/Interpreter/TestCompletion.cpp
  242   EXPECT_THAT(toVector(Results), UnorderedElementsAre("~" + sep));
  253   EXPECT_THAT(toVector(Results), UnorderedElementsAre("~/foo/nested" + sep));
  256   EXPECT_THAT(toVector(Results), UnorderedElementsAre("~/foo/nested" + sep));
  262   EXPECT_THAT(toVector(Results), UnorderedElementsAre("~Lars" + sep));
unittests/XRay/ProfileTest.cpp
   73       P1, UnorderedElementsAre(AllOf(
   97       P1, UnorderedElementsAre(AllOf(
unittests/tools/llvm-cfi-verify/FileAnalysis.cpp
  436   EXPECT_THAT(XRefs, UnorderedElementsAre(
  448   EXPECT_THAT(XRefs, UnorderedElementsAre(
  481   EXPECT_THAT(XRefs, UnorderedElementsAre(
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
  491               UnorderedElementsAre(Pair(0xDEADBEEF + 2, 0xDEADBEEF + 3)));
unittests/tools/llvm-exegesis/ClusteringTest.cpp
  124               UnorderedElementsAre(HasPoints({0, 1, 2})));
  141               UnorderedElementsAre(HasPoints({0, 1, 2})));
unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp
   75   EXPECT_THAT(Pressure, UnorderedElementsAre(Pair(ALUIdx, 2.0)));
   81   EXPECT_THAT(Pressure, UnorderedElementsAre(Pair(ALUEIdx, 2.0)));
unittests/tools/llvm-exegesis/X86/SchedClassResolutionTest.cpp
   69   EXPECT_THAT(Pressure, UnorderedElementsAre(Pair(P0Idx, 2.0)));