diff options
author | Anders Carlsson <andersca@mac.com> | 2010-04-24 16:57:13 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-04-24 16:57:13 +0000 |
commit | f1b48b7014992155286d58bb1676f9f51031d18b (patch) | |
tree | 8bbd12ee8c2c73a29c2c08c91dfc7d5448a959cb /lib/CodeGen/CGObjC.cpp | |
parent | c70e93c8b1e9dc566bb9a31951c21de7a166d4ac (diff) |
CastExpr should not hold a pointer to the base path. More cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | lib/CodeGen/CGObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index fa21a39ff8..1ff30f2634 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -381,7 +381,7 @@ void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP, if (getContext().getCanonicalType(Ivar->getType()) != getContext().getCanonicalType(ArgDecl->getType())) { ImplicitCastExpr ArgCasted(Ivar->getType(), CastExpr::CK_BitCast, &Arg, - 0, false); + CXXBaseSpecifierArray(), false); BinaryOperator Assign(&IvarRef, &ArgCasted, BinaryOperator::Assign, Ivar->getType(), Loc); EmitStmt(&Assign); |