diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-08-06 18:13:46 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-08-06 18:13:46 +0000 |
commit | 413297c53d13a05353fc940cf00ae83ee7f89dbf (patch) | |
tree | 22b9f174a7d3c93cc26294188847ece067b7ea28 /clang/lib/Sema | |
parent | 2daa731bab5049c094ad8339951c151349615a18 (diff) | |
download | bcm5719-llvm-413297c53d13a05353fc940cf00ae83ee7f89dbf.tar.gz bcm5719-llvm-413297c53d13a05353fc940cf00ae83ee7f89dbf.zip |
Objective-C ARC. First patch toward generating new APIs
for Objective-C's array and dictionary literals.
rdar://17554063. This is wip.
llvm-svn: 214983
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r-- | clang/lib/Sema/SemaExprObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExprObjC.cpp b/clang/lib/Sema/SemaExprObjC.cpp index 126cd1527c0..4a844c59d29 100644 --- a/clang/lib/Sema/SemaExprObjC.cpp +++ b/clang/lib/Sema/SemaExprObjC.cpp @@ -740,7 +740,7 @@ ExprResult Sema::BuildObjCArrayLiteral(SourceRange SR, MultiExprArg Elements) { return MaybeBindToTemporary( ObjCArrayLiteral::Create(Context, Elements, Ty, - ArrayWithObjectsMethod, SR)); + ArrayWithObjectsMethod, nullptr, SR)); } ExprResult Sema::BuildObjCDictionaryLiteral(SourceRange SR, @@ -925,7 +925,7 @@ ExprResult Sema::BuildObjCDictionaryLiteral(SourceRange SR, Context.getObjCInterfaceType(NSDictionaryDecl)); return MaybeBindToTemporary(ObjCDictionaryLiteral::Create( Context, makeArrayRef(Elements, NumElements), HasPackExpansions, Ty, - DictionaryWithObjectsMethod, SR)); + DictionaryWithObjectsMethod, nullptr, SR)); } ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, |