diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-24 11:54:20 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-24 11:54:20 +0000 |
commit | c215e76f784f7a7625b22a62ed585ced81b527a2 (patch) | |
tree | 0a75830ecdd0e9be5ba157b675308b92085c1a8e /clang/lib/CodeGen/CGObjC.cpp | |
parent | d574ac2f4de2fcf868256672d598800a80aa3530 (diff) | |
download | bcm5719-llvm-c215e76f784f7a7625b22a62ed585ced81b527a2.tar.gz bcm5719-llvm-c215e76f784f7a7625b22a62ed585ced81b527a2.zip |
Push ArrayRef through the Expr hierarchy.
No functionality change.
llvm-svn: 162552
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index 4a8a07994ad..6e0034e37ea 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -2854,7 +2854,7 @@ CodeGenFunction::GenerateObjCAtomicSetterCopyHelperFunction( Expr *Args[2] = { &DST, &SRC }; CallExpr *CalleeExp = cast<CallExpr>(PID->getSetterCXXAssignment()); CXXOperatorCallExpr TheCall(C, OO_Equal, CalleeExp->getCallee(), - Args, 2, DestTy->getPointeeType(), + Args, DestTy->getPointeeType(), VK_LValue, SourceLocation()); EmitStmt(&TheCall); @@ -2949,7 +2949,7 @@ CodeGenFunction::GenerateObjCAtomicGetterCopyHelperFunction( CXXConstructExpr::Create(C, Ty, SourceLocation(), CXXConstExpr->getConstructor(), CXXConstExpr->isElidable(), - &ConstructorArgs[0], ConstructorArgs.size(), + ConstructorArgs, CXXConstExpr->hadMultipleCandidates(), CXXConstExpr->isListInitialization(), CXXConstExpr->requiresZeroInitialization(), |