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 | 44cfcb6fb1f7de1aa5a94b3ac6f57cb93bb3bf04 (patch) | |
tree | a66eb60c059750572b96d76f69b1e6c2e2afb225 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 58d5ea7ac91f75a4b6d0b754078db9e1470f53da (diff) | |
download | bcm5719-llvm-44cfcb6fb1f7de1aa5a94b3ac6f57cb93bb3bf04.tar.gz bcm5719-llvm-44cfcb6fb1f7de1aa5a94b3ac6f57cb93bb3bf04.zip |
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.
llvm-svn: 55990
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions