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/SemaCodeComplete.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/SemaCodeComplete.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaCodeComplete.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp index fba670e595a..649f70b7b4e 100644 --- a/clang/lib/Sema/SemaCodeComplete.cpp +++ b/clang/lib/Sema/SemaCodeComplete.cpp @@ -3707,7 +3707,7 @@ void Sema::CodeCompleteObjCSuperMessage(Scope *S, SourceLocation SuperLoc, // an instance method. QualType SuperTy = Context.getObjCInterfaceType(CDecl); SuperTy = Context.getObjCObjectPointerType(SuperTy); - OwningExprResult Super + ExprResult Super = Owned(new (Context) ObjCSuperExpr(SuperLoc, SuperTy)); return CodeCompleteObjCInstanceMessage(S, (Expr *)Super.get(), SelIdents, NumSelIdents); @@ -3733,7 +3733,7 @@ void Sema::CodeCompleteObjCSuperMessage(Scope *S, SourceLocation SuperLoc, CXXScopeSpec SS; UnqualifiedId id; id.setIdentifier(Super, SuperLoc); - OwningExprResult SuperExpr = ActOnIdExpression(S, SS, id, false, false); + ExprResult SuperExpr = ActOnIdExpression(S, SS, id, false, false); return CodeCompleteObjCInstanceMessage(S, (Expr *)SuperExpr.get(), SelIdents, NumSelIdents); } |

