summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-02-13 22:54:29 +0000
committerChris Bieneman <beanz@apple.com>2015-02-13 22:54:29 +0000
commitceaf5f660dae6b950f73658c2a7a05d679875da2 (patch)
tree6bb0a1ea23980f5d1fc609f524eaf87bd1790a5d /llvm/lib/Support/CommandLine.cpp
parent542f56a51292c0822044a38bfbf3d35681a6c631 (diff)
downloadbcm5719-llvm-ceaf5f660dae6b950f73658c2a7a05d679875da2.tar.gz
bcm5719-llvm-ceaf5f660dae6b950f73658c2a7a05d679875da2.zip
NFC. clang-format wants to change this from two lines to one.
llvm-svn: 229171
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index 9a1e8831064..3fd08b25ea0 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -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,
OpenPOWER on IntegriCloud