summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-25 11:45:40 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-25 11:45:40 +0000
commite302792b6155bb195f88610a1ebde38343cf402e (patch)
treea3dc32bec0d52b683d794838266f40a1e43cffd7 /clang/lib/CodeGen/CGObjC.cpp
parent1bcddcaab3d1ad8c24e1771ac58a480aeac4230d (diff)
downloadbcm5719-llvm-e302792b6155bb195f88610a1ebde38343cf402e.tar.gz
bcm5719-llvm-e302792b6155bb195f88610a1ebde38343cf402e.zip
GCC didn't care for my attempt at API compatibility, so brute-force everything
to the new constants. llvm-svn: 112047
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjC.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp
index 1c12d7f1adb..6a6d63df8f5 100644
--- a/clang/lib/CodeGen/CGObjC.cpp
+++ b/clang/lib/CodeGen/CGObjC.cpp
@@ -404,13 +404,13 @@ void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP,
if (getContext().getCanonicalType(Ivar->getType()) !=
getContext().getCanonicalType(ArgDecl->getType())) {
ImplicitCastExpr ArgCasted(ImplicitCastExpr::OnStack,
- Ivar->getType(), CastExpr::CK_BitCast, &Arg,
+ Ivar->getType(), CK_BitCast, &Arg,
VK_RValue);
- BinaryOperator Assign(&IvarRef, &ArgCasted, BinaryOperator::Assign,
+ BinaryOperator Assign(&IvarRef, &ArgCasted, BO_Assign,
Ivar->getType(), Loc);
EmitStmt(&Assign);
} else {
- BinaryOperator Assign(&IvarRef, &Arg, BinaryOperator::Assign,
+ BinaryOperator Assign(&IvarRef, &Arg, BO_Assign,
Ivar->getType(), Loc);
EmitStmt(&Assign);
}
OpenPOWER on IntegriCloud