diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-24 07:48:18 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-24 07:48:18 +0000 |
commit | 63ed439ab5ac43a4b36e347df35db84707fc6894 (patch) | |
tree | 9ed713182047616ea9745a458a208bb7ea5854fc /unittests/Analysis | |
parent | 0698b2b6cc067aff9df40fba87c9ef829b23738b (diff) |
[LCG] Switch the SCC's parent iterators to be value iterators rather
than pointer iterators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Analysis')
-rw-r--r-- | unittests/Analysis/LazyCallGraphTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Analysis/LazyCallGraphTest.cpp b/unittests/Analysis/LazyCallGraphTest.cpp index 22a95563fb4..781d98ee503 100644 --- a/unittests/Analysis/LazyCallGraphTest.cpp +++ b/unittests/Analysis/LazyCallGraphTest.cpp @@ -329,7 +329,7 @@ TEST(LazyCallGraphTest, InterSCCEdgeRemoval) { EXPECT_EQ("b", A.begin()->getFunction().getName()); EXPECT_EQ(B.end(), B.begin()); - EXPECT_EQ(&AC, *BC.parent_begin()); + EXPECT_EQ(&AC, &*BC.parent_begin()); CG.removeEdge(A, lookupFunction(*M, "b")); |