From 990a6a39c0f2899ace6e913d536db5abc030c5cc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 25 Jun 2004 00:18:02 +0000 Subject: [PATCH] Unbreak the build. tsk tsk git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14390 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/StringExtras.h | 2 +- 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 0b45103aa3b..daf866f301d 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 0b45103aa3b..daf866f301d 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])) -- 2.34.1