summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclAttr.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-24 05:47:05 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-24 05:47:05 +0000
commitba7bf5950373751395146357e4483679e27f1194 (patch)
tree07428518f6a8ecc56979781e6cdb04b2d248d1bc /clang/lib/Sema/SemaDeclAttr.cpp
parentf0f83699121267571f7bb35f3661cf91de2f329e (diff)
downloadbcm5719-llvm-ba7bf5950373751395146357e4483679e27f1194.tar.gz
bcm5719-llvm-ba7bf5950373751395146357e4483679e27f1194.zip
Abstract out passing around types and kill off ActionBase.
llvm-svn: 111901
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index 3213b2ea5db..dcee0b396f4 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -291,13 +291,13 @@ static void HandleIBOutletCollection(Decl *d, const AttributeList &Attr,
if (!II)
II = &S.Context.Idents.get("id");
- Sema::TypeTy *TypeRep = S.getTypeName(*II, Attr.getLoc(),
+ ParsedType TypeRep = S.getTypeName(*II, Attr.getLoc(),
S.getScopeForContext(d->getDeclContext()->getParent()));
if (!TypeRep) {
S.Diag(Attr.getLoc(), diag::err_iboutletcollection_type) << II;
return;
}
- QualType QT(QualType::getFromOpaquePtr(TypeRep));
+ QualType QT = TypeRep.get();
// Diagnose use of non-object type in iboutletcollection attribute.
// FIXME. Gnu attribute extension ignores use of builtin types in
// attributes. So, __attribute__((iboutletcollection(char))) will be
OpenPOWER on IntegriCloud