summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-04-24 16:57:13 +0000
committerAnders Carlsson <andersca@mac.com>2010-04-24 16:57:13 +0000
commit0c509eeac7353a27bd5812136cc454b4e34c2ff1 (patch)
tree328b840483cc253a45d408af45aa103013978c9b /clang/lib/CodeGen/CGObjC.cpp
parent32f21a63ea687bd70bc493e4ffe125d8ace3eba2 (diff)
downloadbcm5719-llvm-0c509eeac7353a27bd5812136cc454b4e34c2ff1.tar.gz
bcm5719-llvm-0c509eeac7353a27bd5812136cc454b4e34c2ff1.zip
CastExpr should not hold a pointer to the base path. More cleanup.
llvm-svn: 102249
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp
index fa21a39ff8f..1ff30f26349 100644
--- a/clang/lib/CodeGen/CGObjC.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud