aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/IPO/MergeFunctions.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-02-18 22:09:30 +0000
committerRichard Trieu <rtrieu@google.com>2016-02-18 22:09:30 +0000
commit7a08381403b54cd8998f3c922f18b65867e3c07c (patch)
tree888b16f3115d38f20de5fefd2d736c173a4fdc76 /llvm/lib/Transforms/IPO/MergeFunctions.cpp
parentec3d33274887bc59ff3bfdba90494a63850680cc (diff)
downloadllvm-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/IPO/MergeFunctions.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/MergeFunctions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/MergeFunctions.cpp b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
index 702aaa9..2030c22 100644
--- a/llvm/lib/Transforms/IPO/MergeFunctions.cpp
+++ b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
@@ -1186,7 +1186,8 @@ int FunctionComparator::cmpBasicBlocks(const BasicBlock *BBL,
}
}
- ++InstL, ++InstR;
+ ++InstL;
+ ++InstR;
} while (InstL != InstLE && InstR != InstRE);
if (InstL != InstLE && InstR == InstRE)