Remove unnecessary double-assignment triggering -Wsequence-point.

llvm-svn: 303974
This commit is contained in:
Daniel Jasper 2017-05-26 12:07:12 +00:00
parent 5f5905eea8
commit 9230610f0b
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ TEST(BasicBlockTest, PhiRange) {
// Test that we can use const iterators and generally that the iterators
// behave like iterators.
BasicBlock::const_phi_iterator CI;
CI = CI = BB->phis().begin();
CI = BB->phis().begin();
EXPECT_NE(CI, BB->phis().end());
// And iterate a const range.