OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96c95e6
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303974
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/IR/BasicBlockTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/IR/BasicBlockTest.cpp
b/unittests/IR/BasicBlockTest.cpp
index
5bf434d
..
f1777e3
100644
(file)
--- a/
unittests/IR/BasicBlockTest.cpp
+++ b/
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.