diff options
author | Richard Trieu <rtrieu@google.com> | 2016-02-18 22:09:30 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2016-02-18 22:09:30 +0000 |
commit | 7a08381403b54cd8998f3c922f18b65867e3c07c (patch) | |
tree | 888b16f3115d38f20de5fefd2d736c173a4fdc76 /llvm/lib/Transforms/Utils/CloneFunction.cpp | |
parent | ec3d33274887bc59ff3bfdba90494a63850680cc (diff) | |
download | llvm-7a08381403b54cd8998f3c922f18b65867e3c07c.zip llvm-7a08381403b54cd8998f3c922f18b65867e3c07c.tar.gz llvm-7a08381403b54cd8998f3c922f18b65867e3c07c.tar.bz2 |
Remove uses of builtin comma operator.
Cleanup for upcoming Clang warning -Wcomma. No functionality change intended.
llvm-svn: 261270
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/CloneFunction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp index 8b5692a7..05b0a17 100644 --- a/llvm/lib/Transforms/Utils/CloneFunction.cpp +++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp @@ -529,7 +529,8 @@ void llvm::CloneAndPruneIntoFromInst(Function *NewFunc, const Function *OldFunc, PN->setIncomingBlock(pred, MappedBlock); } else { PN->removeIncomingValue(pred, false); - --pred, --e; // Revisit the next entry. + --pred; // Revisit the next entry. + --e; } } } |