diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-25 00:18:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-25 00:18:02 +0000 |
commit | 990a6a39c0f2899ace6e913d536db5abc030c5cc (patch) | |
tree | 0e41d6529374619e9f0cd2c1c09d6c8336e313d1 | |
parent | b140762a45d21aaed054f15adaff0fc2274d939d (diff) |
Unbreak the build. tsk tsk
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14390 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/Support/StringExtras.h | 2 | ||||
-rw-r--r-- | include/llvm/ADT/StringExtras.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/Support/StringExtras.h b/include/Support/StringExtras.h index 0b45103aa3..daf866f301 100644 --- a/include/Support/StringExtras.h +++ b/include/Support/StringExtras.h @@ -97,7 +97,7 @@ static inline std::string ftostr(double V) { return Buffer; } -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])) diff --git a/include/llvm/ADT/StringExtras.h b/include/llvm/ADT/StringExtras.h index 0b45103aa3..daf866f301 100644 --- a/include/llvm/ADT/StringExtras.h +++ b/include/llvm/ADT/StringExtras.h @@ -97,7 +97,7 @@ static inline std::string ftostr(double V) { return Buffer; } -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])) |