diff options
| author | John McCall <rjmccall@apple.com> | 2010-08-24 06:29:42 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-08-24 06:29:42 +0000 |
| commit | dadc575b1e8789cef8264b6d2eb3881655ad59d6 (patch) | |
| tree | 3b5ffe9e9e5d85311af065b1f02279bcadbfda2e /clang/lib/Sema/SemaObjCProperty.cpp | |
| parent | e172be555df224db3a0b8473f4d13d47239772cd (diff) | |
| download | bcm5719-llvm-dadc575b1e8789cef8264b6d2eb3881655ad59d6.tar.gz bcm5719-llvm-dadc575b1e8789cef8264b6d2eb3881655ad59d6.zip | |
OwningExprResult -> ExprResult. This patch brought to you by
M-x query-replace-regexp
\(Sema::\|Action::\|Parser::\|\)Owning\(Expr\|Stmt\)Result -> \2Result
llvm-svn: 111903
Diffstat (limited to 'clang/lib/Sema/SemaObjCProperty.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaObjCProperty.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index 2314a6f94ae..56b0918bef0 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -464,7 +464,7 @@ Decl *Sema::ActOnPropertyImplDecl(Scope *S, Expr *IvarRefExpr = new (Context) ObjCIvarRefExpr(Ivar, Ivar->getType(), AtLoc, SelfExpr, true, true); - OwningExprResult Res = + ExprResult Res = PerformCopyInitialization(InitializedEntity::InitializeResult( SourceLocation(), getterMethod->getResultType(), @@ -494,8 +494,8 @@ Decl *Sema::ActOnPropertyImplDecl(Scope *S, ParmVarDecl *Param = (*P); Expr *rhs = new (Context) DeclRefExpr(Param,Param->getType(), SourceLocation()); - OwningExprResult Res = BuildBinOp(S, SourceLocation(), - BinaryOperator::Assign, lhs, rhs); + ExprResult Res = BuildBinOp(S, SourceLocation(), + BinaryOperator::Assign, lhs, rhs); PIDecl->setSetterCXXAssignment(Res.takeAs<Expr>()); } } |

