diff options
author | Steve Naroff <snaroff@apple.com> | 2008-09-09 14:32:20 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-09-09 14:32:20 +0000 |
commit | 2b255c4dabe6a04314e3659a0f8b61e1382ec287 (patch) | |
tree | e70c6d4d8621f4684aa98b5c36591d6c6fb5b7c8 /lib/CodeGen/CodeGenFunction.h | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions