summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-25 10:28:54 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-25 10:28:54 +0000
commit2536c6da0ec4db6506f93f5f7d65ac1c17348c77 (patch)
tree29819bf87dc6ae5874e44ce9962f04c94bc6f220 /clang/lib/CodeGen/CGObjC.cpp
parentb50a088122875184c3dfc96337e631e2e854d2f7 (diff)
downloadbcm5719-llvm-2536c6da0ec4db6506f93f5f7d65ac1c17348c77.tar.gz
bcm5719-llvm-2536c6da0ec4db6506f93f5f7d65ac1c17348c77.zip
More incremental progress towards not including Expr.h in Sema.h.
llvm-svn: 112044
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 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);
OpenPOWER on IntegriCloud