From 7a08381403b54cd8998f3c922f18b65867e3c07c Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Thu, 18 Feb 2016 22:09:30 +0000 Subject: Remove uses of builtin comma operator. Cleanup for upcoming Clang warning -Wcomma. No functionality change intended. llvm-svn: 261270 --- llvm/lib/Support/FileUtilities.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Support/FileUtilities.cpp') diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp index 5316f049a38..c6a58cc9d03 100644 --- a/llvm/lib/Support/FileUtilities.cpp +++ b/llvm/lib/Support/FileUtilities.cpp @@ -217,8 +217,10 @@ int llvm::DiffFilesWithTolerance(StringRef NameA, bool CompareFailed = false; while (1) { // Scan for the end of file or next difference. - while (F1P < File1End && F2P < File2End && *F1P == *F2P) - ++F1P, ++F2P; + while (F1P < File1End && F2P < File2End && *F1P == *F2P) { + ++F1P; + ++F2P; + } if (F1P >= File1End || F2P >= File2End) break; -- cgit v1.2.3