summaryrefslogtreecommitdiff
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-02-09 10:09:43 +0000
committerJordan Rose <jordan_rose@apple.com>2013-02-09 10:09:43 +0000
commit4938f276a5ae5c03aa70d92467c95c56bcb7d0d3 (patch)
tree78b500b85d29f0df977d369f36c73ff7f6533d99 /clang/lib/Basic/IdentifierTable.cpp
parent55d911d8337e865703e696e85d8551cf3945022f (diff)
downloadllvm-4938f276a5ae5c03aa70d92467c95c56bcb7d0d3.tar.gz
Remove some stray uses of <ctype.h> functions.
These are causing assertions on some MSVC builds. llvm-svn: 174805
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r--clang/lib/Basic/IdentifierTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index b943472f335c..429d9d8cb21e 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/lib/Basic/IdentifierTable.cpp
@@ -471,7 +471,7 @@ SelectorTable::constructSetterName(IdentifierTable &Idents,
SmallString<100> SelectorName;
SelectorName = "set";
SelectorName += Name->getName();
- SelectorName[3] = toupper(SelectorName[3]);
+ SelectorName[3] = toUppercase(SelectorName[3]);
IdentifierInfo *SetterName = &Idents.get(SelectorName);
return SelTable.getUnarySelector(SetterName);
}