Address some of Doug's comments.

llvm-svn: 80114
This commit is contained in:
Anders Carlsson 2009-08-26 17:36:19 +00:00
parent e9899d9769
commit e7b9d71aab
4 changed files with 8 additions and 5 deletions

View File

@ -1263,8 +1263,11 @@ public:
return ExprEmpty();
}
/// ActOnDestructorReferenceExpr - Parsed a destructor reference, for example:
///
/// t->~T();
virtual OwningExprResult
ActOnPseudoDtorReferenceExpr(Scope *S, ExprArg Base,
ActOnDestructorReferenceExpr(Scope *S, ExprArg Base,
SourceLocation OpLoc,
tok::TokenKind OpKind,
SourceLocation ClassNameLoc,

View File

@ -951,7 +951,7 @@ Parser::ParsePostfixExpressionSuffix(OwningExprResult LHS) {
}
if (!LHS.isInvalid())
LHS = Actions.ActOnPseudoDtorReferenceExpr(CurScope, move(LHS),
LHS = Actions.ActOnDestructorReferenceExpr(CurScope, move(LHS),
OpLoc, OpKind,
Tok.getLocation(),
Tok.getIdentifierInfo(),

View File

@ -1920,9 +1920,9 @@ public:
SourceLocation LParen,
TypeTy *Ty,
SourceLocation RParen);
virtual OwningExprResult
ActOnPseudoDtorReferenceExpr(Scope *S, ExprArg Base,
ActOnDestructorReferenceExpr(Scope *S, ExprArg Base,
SourceLocation OpLoc,
tok::TokenKind OpKind,
SourceLocation ClassNameLoc,

View File

@ -1683,7 +1683,7 @@ Expr *Sema::MaybeCreateCXXExprWithTemporaries(Expr *SubExpr,
}
Sema::OwningExprResult
Sema::ActOnPseudoDtorReferenceExpr(Scope *S, ExprArg Base,
Sema::ActOnDestructorReferenceExpr(Scope *S, ExprArg Base,
SourceLocation OpLoc,
tok::TokenKind OpKind,
SourceLocation ClassNameLoc,