summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/BasicBlockTest.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2017-05-26 12:07:12 +0000
committerDaniel Jasper <djasper@google.com>2017-05-26 12:07:12 +0000
commit9230610f0b8c7cba0bc74d63d17f04570946be73 (patch)
treed75d2717bf3dd3ea9e4c152bd22a54beaf3f013f /llvm/unittests/IR/BasicBlockTest.cpp
parent5f5905eea8439ec32afc5337265f159e30e13440 (diff)
downloadbcm5719-llvm-9230610f0b8c7cba0bc74d63d17f04570946be73.tar.gz
bcm5719-llvm-9230610f0b8c7cba0bc74d63d17f04570946be73.zip
Remove unnecessary double-assignment triggering -Wsequence-point.
llvm-svn: 303974
Diffstat (limited to 'llvm/unittests/IR/BasicBlockTest.cpp')
-rw-r--r--llvm/unittests/IR/BasicBlockTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/IR/BasicBlockTest.cpp b/llvm/unittests/IR/BasicBlockTest.cpp
index 5bf434de961..f1777e35b82 100644
--- a/llvm/unittests/IR/BasicBlockTest.cpp
+++ b/llvm/unittests/IR/BasicBlockTest.cpp
@@ -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.
OpenPOWER on IntegriCloud