forked from OSchip/llvm-project
Remove unnecessary double-assignment triggering -Wsequence-point.
llvm-svn: 303974
This commit is contained in:
parent
5f5905eea8
commit
9230610f0b
|
@ -60,7 +60,7 @@ TEST(BasicBlockTest, PhiRange) {
|
||||||
// Test that we can use const iterators and generally that the iterators
|
// Test that we can use const iterators and generally that the iterators
|
||||||
// behave like iterators.
|
// behave like iterators.
|
||||||
BasicBlock::const_phi_iterator CI;
|
BasicBlock::const_phi_iterator CI;
|
||||||
CI = CI = BB->phis().begin();
|
CI = BB->phis().begin();
|
||||||
EXPECT_NE(CI, BB->phis().end());
|
EXPECT_NE(CI, BB->phis().end());
|
||||||
|
|
||||||
// And iterate a const range.
|
// And iterate a const range.
|
||||||
|
|
Loading…
Reference in New Issue