projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f5905e
)
Remove unnecessary double-assignment triggering -Wsequence-point.
author
Daniel Jasper
<djasper@google.com>
Fri, 26 May 2017 12:07:12 +0000
(12:07 +0000)
committer
Daniel Jasper
<djasper@google.com>
Fri, 26 May 2017 12:07:12 +0000
(12:07 +0000)
llvm-svn: 303974
llvm/unittests/IR/BasicBlockTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/IR/BasicBlockTest.cpp
b/llvm/unittests/IR/BasicBlockTest.cpp
index
5bf434d
..
f1777e3
100644
(file)
--- 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.