[cfe-commits] r103247 - /cfe/trunk/lib/Sema/SemaExpr.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Fri May 7 02:06:27 PDT 2010
Author: cornedbee
Date: Fri May 7 04:06:26 2010
New Revision: 103247
URL: http://llvm.org/viewvc/llvm-project?rev=103247&view=rev
Log:
Pass the correct type to BuildMemberReferenceExpr. Fixes bug 6466.
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=103247&r1=103246&r2=103247&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Fri May 7 04:06:26 2010
@@ -2670,7 +2670,7 @@
return move(Result);
}
- return BuildMemberReferenceExpr(ExprArg(*this, Base), BaseType,
+ return BuildMemberReferenceExpr(ExprArg(*this, Base), Base->getType(),
OpLoc, IsArrow, SS, FirstQualifierInScope,
R, TemplateArgs);
}
More information about the cfe-commits
mailing list