aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Sema/Sema.h')
-rw-r--r--include/clang/Sema/Sema.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index 8a7ebf17f9..0bd672f5d1 100644
--- a/include/clang/Sema/Sema.h
+++ b/include/clang/Sema/Sema.h
@@ -688,17 +688,17 @@ public:
OwningExprResult Owned(Expr* E) {
assert(!E || E->isRetained());
- return OwningExprResult(*this, E);
+ return OwningExprResult(E);
}
OwningExprResult Owned(ExprResult R) {
if (R.isInvalid())
return ExprError();
assert(!R.get() || ((Expr*) R.get())->isRetained());
- return OwningExprResult(*this, R.get());
+ return OwningExprResult(R.get());
}
OwningStmtResult Owned(Stmt* S) {
assert(!S || S->isRetained());
- return OwningStmtResult(*this, S);
+ return OwningStmtResult(S);
}
virtual void ActOnEndOfTranslationUnit();
@@ -2398,7 +2398,7 @@ public:
bool CompleteConstructorCall(CXXConstructorDecl *Constructor,
MultiExprArg ArgsPtr,
SourceLocation Loc,
- ASTOwningVector<&ActionBase::DeleteExpr> &ConvertedArgs);
+ ASTOwningVector<Expr*> &ConvertedArgs);
virtual TypeTy *getDestructorName(SourceLocation TildeLoc,
IdentifierInfo &II, SourceLocation NameLoc,