Fix a typo.

llvm-svn: 143890
This commit is contained in:
Benjamin Kramer 2011-11-06 20:36:50 +00:00
parent 44f91da8cc
commit e3b94d1b55
1 changed files with 1 additions and 1 deletions

View 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;
}