forked from OSchip/llvm-project
parent
e9899d9769
commit
e7b9d71aab
|
@ -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,
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue