Unbreak the build. tsk tsk
authorChris Lattner <sabre@nondot.org>
Fri, 25 Jun 2004 00:18:02 +0000 (00:18 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Jun 2004 00:18:02 +0000 (00:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14390 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/StringExtras.h
include/llvm/ADT/StringExtras.h

index 0b45103aa3bc16cb50a773b5c85439e55937b4db..daf866f301d13cfbdd00a28841666315b4ce4343 100644 (file)
@@ -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]))
index 0b45103aa3bc16cb50a773b5c85439e55937b4db..daf866f301d13cfbdd00a28841666315b4ce4343 100644 (file)
@@ -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]))