summaryrefslogtreecommitdiffstats
path: root/llvm/include/Support/StringExtras.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/Support/StringExtras.h')
-rw-r--r--llvm/include/Support/StringExtras.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/Support/StringExtras.h b/llvm/include/Support/StringExtras.h
index 0b45103aa3b..daf866f301d 100644
--- a/llvm/include/Support/StringExtras.h
+++ b/llvm/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]))
OpenPOWER on IntegriCloud