diff options
| author | Steve Naroff <snaroff@apple.com> | 2009-06-29 16:22:52 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2009-06-29 16:22:52 +0000 |
| commit | 8d9cc9ebc1c5e68d5acac19d7efaac1d13d1349b (patch) | |
| tree | c89084be142b25cfb03a8b79fdddda76feef96a8 /clang/lib/Sema | |
| parent | dbf11ba8008d59904a447925b7d1529af7cffd9a (diff) | |
| download | bcm5719-llvm-8d9cc9ebc1c5e68d5acac19d7efaac1d13d1349b.tar.gz bcm5719-llvm-8d9cc9ebc1c5e68d5acac19d7efaac1d13d1349b.zip | |
Remove ASTContext::getObjCQualifiedIdType().
Convert clients to use ASTContext::getObjCObjectPointerType().
llvm-svn: 74424
Diffstat (limited to 'clang/lib/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaType.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp index c6bcdc36f13..abb825383e5 100644 --- a/clang/lib/Sema/SemaType.cpp +++ b/clang/lib/Sema/SemaType.cpp @@ -89,8 +89,8 @@ QualType Sema::ConvertDeclSpecToType(const DeclSpec &DS, case DeclSpec::TST_unspecified: // "<proto1,proto2>" is an objc qualified ID with a missing id. if (DeclSpec::ProtocolQualifierListTy PQ = DS.getProtocolQualifiers()) { - Result = Context.getObjCQualifiedIdType((ObjCProtocolDecl**)PQ, - DS.getNumProtocolQualifiers()); + Result = Context.getObjCObjectPointerType(0, (ObjCProtocolDecl**)PQ, + DS.getNumProtocolQualifiers()); break; } @@ -200,8 +200,8 @@ QualType Sema::ConvertDeclSpecToType(const DeclSpec &DS, DS.getNumProtocolQualifiers()); else if (Result == Context.getObjCIdType()) // id<protocol-list> - Result = Context.getObjCQualifiedIdType((ObjCProtocolDecl**)PQ, - DS.getNumProtocolQualifiers()); + Result = Context.getObjCObjectPointerType(0, (ObjCProtocolDecl**)PQ, + DS.getNumProtocolQualifiers()); else if (Result == Context.getObjCClassType()) { if (DeclLoc.isInvalid()) DeclLoc = DS.getSourceRange().getBegin(); |

