Fix DISABLE_SMART_POINTERS build

llvm-svn: 78674
This commit is contained in:
Douglas Gregor 2009-08-11 15:56:57 +00:00
parent f5adff9c41
commit 2168a9f25f
1 changed files with 2 additions and 1 deletions

View File

@ -1221,11 +1221,12 @@ public:
///
/// By default, performs semantic analysis to build the new expression.
/// Subclasses may override this routine to provide different behavior.
OwningExprResult RebuildCXXUnresolvedMemberExpr(ExprArg Base,
OwningExprResult RebuildCXXUnresolvedMemberExpr(ExprArg BaseE,
bool IsArrow,
SourceLocation OperatorLoc,
DeclarationName Name,
SourceLocation MemberLoc) {
OwningExprResult Base = move(BaseE);
tok::TokenKind OpKind = IsArrow? tok::arrow : tok::period;
CXXScopeSpec SS;
Base = SemaRef.ActOnCXXEnterMemberScope(0, SS, move(Base), OpKind);