diff options
author | Steve Naroff <snaroff@apple.com> | 2009-02-23 18:36:16 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-02-23 18:36:16 +0000 |
commit | d461777e23204fe8c480302d8ff76f5847605da6 (patch) | |
tree | 6d351b295cbd0575aec6ba3148e0bbdc38f8ccc9 /lib/Sema/SemaType.cpp | |
parent | 01011d4e4d6d5146f58233a508509757382d62c3 (diff) |
Revert http://llvm.org/viewvc/llvm-project?view=rev&revision=65244.
Remove support for "Class<P>". Will be making this an error.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 697524133c..acdeec6ba9 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -151,10 +151,6 @@ QualType Sema::ConvertDeclSpecToType(const DeclSpec &DS) { // id<protocol-list> Result = Context.getObjCQualifiedIdType((ObjCProtocolDecl**)PQ, DS.getNumProtocolQualifiers()); - else if (Result == Context.getObjCClassType()) - // Support the following GCC extension: Class<protocol-list> - Result = Context.getObjCQualifiedClassType((ObjCProtocolDecl**)PQ, - DS.getNumProtocolQualifiers()); else Diag(DS.getSourceRange().getBegin(), diag::warn_ignoring_objc_qualifiers) << DS.getSourceRange(); |