[llvm] r229171 - NFC. clang-format wants to change this from two lines to one.

Chris Bieneman beanz at apple.com
Fri Feb 13 14:54:29 PST 2015


Author: cbieneman
Date: Fri Feb 13 16:54:29 2015
New Revision: 229171

URL: http://llvm.org/viewvc/llvm-project?rev=229171&view=rev
Log:
NFC. clang-format wants to change this from two lines to one.

Modified:
    llvm/trunk/lib/Support/CommandLine.cpp

Modified: llvm/trunk/lib/Support/CommandLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CommandLine.cpp?rev=229171&r1=229170&r2=229171&view=diff
==============================================================================
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Fri Feb 13 16:54:29 2015
@@ -698,8 +698,7 @@ void cl::TokenizeWindowsCommandLine(Stri
 // It is called byte order marker but the UTF-8 BOM is actually not affected
 // by the host system's endianness.
 static bool hasUTF8ByteOrderMark(ArrayRef<char> S) {
-  return (S.size() >= 3 &&
-          S[0] == '\xef' && S[1] == '\xbb' && S[2] == '\xbf');
+  return (S.size() >= 3 && S[0] == '\xef' && S[1] == '\xbb' && S[2] == '\xbf');
 }
 
 static bool ExpandResponseFile(const char *FName, StringSaver &Saver,





More information about the llvm-commits mailing list