NFC. clang-format wants to change this from two lines to one.
authorChris Bieneman <beanz@apple.com>
Fri, 13 Feb 2015 22:54:29 +0000 (22:54 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 13 Feb 2015 22:54:29 +0000 (22:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229171 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/CommandLine.cpp

index 9a1e8831064df7fcc601257c00f3a99568dee7f8..3fd08b25ea0192f062aa1e7eccec10556116a478 100644 (file)
@@ -698,8 +698,7 @@ void cl::TokenizeWindowsCommandLine(StringRef Src, StringSaver &Saver,
 // 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,