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

References

tools/clang/unittests/Analysis/CFGTest.cpp
  131   for (CFGBlock::ConstCFGElementRef ElementRef : CMainBlock->refs()) {
  132     EXPECT_EQ(ElementRef.getParent(), CMainBlock);
  139   EXPECT_TRUE(*CMainBlock->ref_begin() < *(CMainBlock->ref_begin() + 1));
  139   EXPECT_TRUE(*CMainBlock->ref_begin() < *(CMainBlock->ref_begin() + 1));
  140   EXPECT_TRUE(*CMainBlock->ref_begin() == *CMainBlock->ref_begin());
  140   EXPECT_TRUE(*CMainBlock->ref_begin() == *CMainBlock->ref_begin());
  141   EXPECT_FALSE(*CMainBlock->ref_begin() != *CMainBlock->ref_begin());
  141   EXPECT_FALSE(*CMainBlock->ref_begin() != *CMainBlock->ref_begin());
  143   EXPECT_TRUE(CMainBlock->ref_begin() < CMainBlock->ref_begin() + 1);
  143   EXPECT_TRUE(CMainBlock->ref_begin() < CMainBlock->ref_begin() + 1);
  144   EXPECT_TRUE(CMainBlock->ref_begin() == CMainBlock->ref_begin());
  144   EXPECT_TRUE(CMainBlock->ref_begin() == CMainBlock->ref_begin());
  145   EXPECT_FALSE(CMainBlock->ref_begin() != CMainBlock->ref_begin());
  145   EXPECT_FALSE(CMainBlock->ref_begin() != CMainBlock->ref_begin());
  146   EXPECT_EQ(CMainBlock->ref_end() - CMainBlock->ref_begin(), MainBlockSize + 1);
  146   EXPECT_EQ(CMainBlock->ref_end() - CMainBlock->ref_begin(), MainBlockSize + 1);
  147   EXPECT_EQ(CMainBlock->ref_end() - MainBlockSize - 1, CMainBlock->ref_begin());
  147   EXPECT_EQ(CMainBlock->ref_end() - MainBlockSize - 1, CMainBlock->ref_begin());
  148   EXPECT_EQ(CMainBlock->ref_begin() + MainBlockSize + 1, CMainBlock->ref_end());
  148   EXPECT_EQ(CMainBlock->ref_begin() + MainBlockSize + 1, CMainBlock->ref_end());
  149   EXPECT_EQ(CMainBlock->ref_begin()++, CMainBlock->ref_begin());
  149   EXPECT_EQ(CMainBlock->ref_begin()++, CMainBlock->ref_begin());
  150   EXPECT_EQ(++(CMainBlock->ref_begin()), CMainBlock->ref_begin() + 1);
  150   EXPECT_EQ(++(CMainBlock->ref_begin()), CMainBlock->ref_begin() + 1);
  178   for (CFGBlock::ConstCFGElementRef ElementRef : CMainBlock->rrefs()) {
  179     EXPECT_EQ(ElementRef.getParent(), CMainBlock);
  186   EXPECT_FALSE(*CMainBlock->rref_begin() < *(CMainBlock->rref_begin() + 1));
  186   EXPECT_FALSE(*CMainBlock->rref_begin() < *(CMainBlock->rref_begin() + 1));
  187   EXPECT_TRUE(*CMainBlock->rref_begin() == *CMainBlock->rref_begin());
  187   EXPECT_TRUE(*CMainBlock->rref_begin() == *CMainBlock->rref_begin());
  188   EXPECT_FALSE(*CMainBlock->rref_begin() != *CMainBlock->rref_begin());
  188   EXPECT_FALSE(*CMainBlock->rref_begin() != *CMainBlock->rref_begin());
  190   EXPECT_TRUE(CMainBlock->rref_begin() < CMainBlock->rref_begin() + 1);
  190   EXPECT_TRUE(CMainBlock->rref_begin() < CMainBlock->rref_begin() + 1);
  191   EXPECT_TRUE(CMainBlock->rref_begin() == CMainBlock->rref_begin());
  191   EXPECT_TRUE(CMainBlock->rref_begin() == CMainBlock->rref_begin());
  192   EXPECT_FALSE(CMainBlock->rref_begin() != CMainBlock->rref_begin());
  192   EXPECT_FALSE(CMainBlock->rref_begin() != CMainBlock->rref_begin());
  193   EXPECT_EQ(CMainBlock->rref_end() - CMainBlock->rref_begin(),
  193   EXPECT_EQ(CMainBlock->rref_end() - CMainBlock->rref_begin(),
  195   EXPECT_EQ(CMainBlock->rref_end() - MainBlockSize - 1,
  196             CMainBlock->rref_begin());
  197   EXPECT_EQ(CMainBlock->rref_begin() + MainBlockSize + 1,
  198             CMainBlock->rref_end());
  199   EXPECT_EQ(CMainBlock->rref_begin()++, CMainBlock->rref_begin());
  199   EXPECT_EQ(CMainBlock->rref_begin()++, CMainBlock->rref_begin());
  200   EXPECT_EQ(++(CMainBlock->rref_begin()), CMainBlock->rref_begin() + 1);
  200   EXPECT_EQ(++(CMainBlock->rref_begin()), CMainBlock->rref_begin() + 1);