From 2536c6da0ec4db6506f93f5f7d65ac1c17348c77 Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 25 Aug 2010 10:28:54 +0000 Subject: More incremental progress towards not including Expr.h in Sema.h. llvm-svn: 112044 --- clang/lib/CodeGen/CGObjC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGObjC.cpp') diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index 255898b0aa7..1c12d7f1adb 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -405,7 +405,7 @@ void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP, getContext().getCanonicalType(ArgDecl->getType())) { ImplicitCastExpr ArgCasted(ImplicitCastExpr::OnStack, Ivar->getType(), CastExpr::CK_BitCast, &Arg, - ImplicitCastExpr::RValue); + VK_RValue); BinaryOperator Assign(&IvarRef, &ArgCasted, BinaryOperator::Assign, Ivar->getType(), Loc); EmitStmt(&Assign); -- cgit v1.2.3