llvm.org GIT mirror llvm / 19f2445
ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang (libstdc++-4.5) on stage2. [-Wsign-compare] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173127 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 6 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
132132 Set.insert(8);
133133
134134 // Erase all the 8s
135 EXPECT_EQ(5u, std::distance(Set.getHead(8), Set.end()));
135 EXPECT_EQ(5, std::distance(Set.getHead(8), Set.end()));
136136 Set.eraseAll(8);
137 EXPECT_EQ(0u, std::distance(Set.getHead(8), Set.end()));
137 EXPECT_EQ(0, std::distance(Set.getHead(8), Set.end()));
138138
139139 // Clear and resize the universe.
140140 Set.clear();