commit | a7b966fc8d63b9b9432e1b33b33d4be6179e1fff | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Nov 06 20:36:50 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Nov 06 20:36:50 2011 +0000 |
tree | 26a68a7272068bf50abed17d471eb6f70ffbc52c | |
parent | 6ce1b75b4381e31ef3608d4cf985688ad4251f39 [diff] [blame] |
Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143890 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/StringRef.cpp b/lib/Support/StringRef.cpp index c78b6d0..e73c6e3 100644 --- a/lib/Support/StringRef.cpp +++ b/lib/Support/StringRef.cpp
@@ -152,7 +152,7 @@ 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; }