mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[unittest] Fix -Wunused-variable after D94717
This commit is contained in:
parent
fd58086fcb
commit
e03ea6bfdf
@ -1534,8 +1534,7 @@ TEST(LoopInfoTest, LoopUserBranch) {
|
|||||||
runWithLoopInfo(*M, "foo", [&](Function &F, LoopInfo &LI) {
|
runWithLoopInfo(*M, "foo", [&](Function &F, LoopInfo &LI) {
|
||||||
Function::iterator FI = F.begin();
|
Function::iterator FI = F.begin();
|
||||||
FI = ++FI;
|
FI = ++FI;
|
||||||
BasicBlock *Guard = &*FI;
|
assert(FI->getName() == "guard");
|
||||||
assert(Guard->getName() == "guard");
|
|
||||||
|
|
||||||
FI = ++FI;
|
FI = ++FI;
|
||||||
BasicBlock *Header = &*(++FI);
|
BasicBlock *Header = &*(++FI);
|
||||||
|
Loading…
Reference in New Issue
Block a user