aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/StringExtras.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-21 20:19:05 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-21 20:19:05 +0000
commit9769ab22265b313171d201b5928688524a01bd87 (patch)
tree4215db61d3b617687d0eec4ed3caf7dbf973f4ca /include/llvm/ADT/StringExtras.h
parent109026290b3b07152322e65801edb51dccfe7ddc (diff)
downloadexternal_llvm-9769ab22265b313171d201b5928688524a01bd87.tar.gz
external_llvm-9769ab22265b313171d201b5928688524a01bd87.tar.bz2
external_llvm-9769ab22265b313171d201b5928688524a01bd87.zip
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringExtras.h')
-rw-r--r--include/llvm/ADT/StringExtras.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/ADT/StringExtras.h b/include/llvm/ADT/StringExtras.h
index d952ae236f..32f9b0c907 100644
--- a/include/llvm/ADT/StringExtras.h
+++ b/include/llvm/ADT/StringExtras.h
@@ -1,10 +1,10 @@
//===-- llvm/ADT/StringExtras.h - Useful string functions -------*- C++ -*-===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
//
// This file contains some functions that are useful when dealing with strings.
@@ -77,21 +77,21 @@ static inline std::string utostr(unsigned X, bool isNeg = false) {
}
static inline std::string itostr(long long X) {
- if (X < 0)
+ if (X < 0)
return utostr(static_cast<uint64_t>(-X), true);
else
return utostr(static_cast<uint64_t>(X));
}
-
+
static inline std::string itostr(long X) {
- if (X < 0)
+ if (X < 0)
return utostr(static_cast<uint64_t>(-X), true);
else
return utostr(static_cast<uint64_t>(X));
}
static inline std::string itostr(int X) {
- if (X < 0)
+ if (X < 0)
return utostr(static_cast<unsigned>(-X), true);
else
return utostr(static_cast<unsigned>(X));
@@ -105,7 +105,7 @@ static inline std::string ftostr(double V) {
return B;
}
-static inline std::string LowercaseString(const std::string &S) {
+static inline std::string LowercaseString(const std::string &S) {
std::string result(S);
for (unsigned i = 0; i < S.length(); ++i)
if (isupper(result[i]))