forked from OSchip/llvm-project
Fix an obvious goof that rjmccall found by inspection. No testcase, suggestions
welcome for one. llvm-svn: 104101
This commit is contained in:
parent
744c96dd48
commit
eba788efa6
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue