summaryrefslogtreecommitdiffstats
path: root/lib/AST/ASTImporter.cpp
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2010-04-03 07:51:34 +0000
committerrdivacky <rdivacky@FreeBSD.org>2010-04-03 07:51:34 +0000
commitac616af773f5062edaaf1a0bb5610b49a22ac41f (patch)
tree1e9c2f464daf7966d11aa31cf069fa1bc63fdb21 /lib/AST/ASTImporter.cpp
parent07b2cfcdb817cc0790420f159a313d61e7241cb9 (diff)
downloadFreeBSD-src-ac616af773f5062edaaf1a0bb5610b49a22ac41f.zip
FreeBSD-src-ac616af773f5062edaaf1a0bb5610b49a22ac41f.tar.gz
Update clang to r100285.
Diffstat (limited to 'lib/AST/ASTImporter.cpp')
-rw-r--r--lib/AST/ASTImporter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AST/ASTImporter.cpp b/lib/AST/ASTImporter.cpp
index 75cf138..f7d08e8 100644
--- a/lib/AST/ASTImporter.cpp
+++ b/lib/AST/ASTImporter.cpp
@@ -2013,7 +2013,8 @@ Decl *ASTNodeImporter::VisitObjCIvarDecl(ObjCIvarDecl *D) {
if (!BitWidth && D->getBitWidth())
return 0;
- ObjCIvarDecl *ToIvar = ObjCIvarDecl::Create(Importer.getToContext(), DC,
+ ObjCIvarDecl *ToIvar = ObjCIvarDecl::Create(Importer.getToContext(),
+ cast<ObjCContainerDecl>(DC),
Loc, Name.getAsIdentifierInfo(),
T, TInfo, D->getAccessControl(),
BitWidth);
OpenPOWER on IntegriCloud