[cfe-commits] r78674 - /cfe/trunk/lib/Sema/TreeTransform.h
Douglas Gregor
dgregor at apple.com
Tue Aug 11 08:56:58 PDT 2009
Author: dgregor
Date: Tue Aug 11 10:56:57 2009
New Revision: 78674
URL: http://llvm.org/viewvc/llvm-project?rev=78674&view=rev
Log:
Fix DISABLE_SMART_POINTERS build
Modified:
cfe/trunk/lib/Sema/TreeTransform.h
Modified: cfe/trunk/lib/Sema/TreeTransform.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/TreeTransform.h?rev=78674&r1=78673&r2=78674&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/TreeTransform.h (original)
+++ cfe/trunk/lib/Sema/TreeTransform.h Tue Aug 11 10:56:57 2009
@@ -1221,11 +1221,12 @@
///
/// 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);
More information about the cfe-commits
mailing list