This is the matching change for the data structure name changes for the
[oota-llvm.git] / lib / Support / StringRef.cpp
index c78b6d0afc83b85de9d795b231ce1aa7020c47de..e73c6e38e2f41146209b290d88326fce25a22d9e 100644 (file)
@@ -152,7 +152,7 @@ std::string StringRef::lower() const {
 std::string StringRef::upper() const {
   std::string Result(size(), char());
   for (size_type i = 0, e = size(); i != e; ++i) {
-    Result[i] = ascii_tolower(Data[i]);
+    Result[i] = ascii_toupper(Data[i]);
   }
   return Result;
 }