Skip to content

Commit

Permalink
Remove unnecessary double-assignment triggering -Wsequence-point.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303974 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
djasper-gh committed May 26, 2017
1 parent 96c95e6 commit 0559b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/IR/BasicBlockTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0559b4f

Please sign in to comment.