diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-06 20:36:50 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-06 20:36:50 +0000 |
commit | e3b94d1b55a759010539051913a17b7970ee1ce6 (patch) | |
tree | c3752dcf2e9294a345512d9e43ddf397aa5deb13 /llvm/lib/Support/StringRef.cpp | |
parent | 44f91da8cc7cc244d000fd93a3937ee49402ba7c (diff) | |
download | bcm5719-llvm-e3b94d1b55a759010539051913a17b7970ee1ce6.tar.gz bcm5719-llvm-e3b94d1b55a759010539051913a17b7970ee1ce6.zip |
Fix a typo.
llvm-svn: 143890
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
-rw-r--r-- | llvm/lib/Support/StringRef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/StringRef.cpp b/llvm/lib/Support/StringRef.cpp index c78b6d0afc8..e73c6e38e2f 100644 --- a/llvm/lib/Support/StringRef.cpp +++ b/llvm/lib/Support/StringRef.cpp @@ -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; } |