Fix an obvious goof that rjmccall found by inspection. No testcase, suggestions

welcome for one.

llvm-svn: 104101
This commit is contained in:
Chandler Carruth 2010-05-19 01:37:01 +00:00
parent 744c96dd48
commit eba788efa6
1 changed files with 1 additions and 1 deletions

View File

@ -5867,7 +5867,7 @@ TreeTransform<Derived>::TransformUnresolvedMemberExpr(UnresolvedMemberExpr *Old)
R.resolveKind();
// Determine the naming class.
if (!Old->getNamingClass()) {
if (Old->getNamingClass()) {
CXXRecordDecl *NamingClass
= cast_or_null<CXXRecordDecl>(getDerived().TransformDecl(
Old->getMemberLoc(),