commit | 2b255c4dabe6a04314e3659a0f8b61e1382ec287 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Tue Sep 09 14:32:20 2008 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Tue Sep 09 14:32:20 2008 +0000 |
tree | e70c6d4d8621f4684aa98b5c36591d6c6fb5b7c8 | |
parent | 3c1b91223908f1848622c3da21beced6d42371d4 [diff] |
Tweak implementation for allowing ObjC builtin type redefinitions. - Replace string comparisons with pre-defined idents. - Avoid calling isBuiltinObjCType() to avoid two checks. - Remove isBuiltinObjCType(), since it was only used in Sema::MergeTypeDefDecl(). - Have Sema::MergeTypeDefDecl() set the new type. This is a moidified version of an patch by David Chisnall. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55990 91177308-0d34-0410-b5e6-96231b3b80d8