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

References

unittests/Analysis/LazyCallGraphTest.cpp
  428   C.populate();
  429   CG.insertEdge(B, C, LazyCallGraph::Edge::Call);
  431   EXPECT_EQ(0, std::distance(C->begin(), C->end()));
  431   EXPECT_EQ(0, std::distance(C->begin(), C->end()));
  433   CG.insertEdge(C, B, LazyCallGraph::Edge::Call);
  434   EXPECT_EQ(1, std::distance(C->begin(), C->end()));
  434   EXPECT_EQ(1, std::distance(C->begin(), C->end()));
  435   EXPECT_EQ(&B, &C->begin()->getNode());
  437   CG.insertEdge(C, C, LazyCallGraph::Edge::Call);
  437   CG.insertEdge(C, C, LazyCallGraph::Edge::Call);
  438   EXPECT_EQ(2, std::distance(C->begin(), C->end()));
  438   EXPECT_EQ(2, std::distance(C->begin(), C->end()));
  439   EXPECT_EQ(&B, &C->begin()->getNode());
  440   EXPECT_EQ(&C, &std::next(C->begin())->getNode());
  440   EXPECT_EQ(&C, &std::next(C->begin())->getNode());
  442   CG.removeEdge(C, B);
  443   EXPECT_EQ(1, std::distance(C->begin(), C->end()));
  443   EXPECT_EQ(1, std::distance(C->begin(), C->end()));
  444   EXPECT_EQ(&C, &C->begin()->getNode());
  444   EXPECT_EQ(&C, &C->begin()->getNode());
  446   CG.removeEdge(C, C);
  446   CG.removeEdge(C, C);
  447   EXPECT_EQ(0, std::distance(C->begin(), C->end()));
  447   EXPECT_EQ(0, std::distance(C->begin(), C->end()));
  449   CG.removeEdge(B, C);