[MS ABI] Remove another call to RequireCompleteType

I cannot come up with a testcase which would rely on this call to
RequireCompleteType, I believe that it is superfluous given the current
state of clang.

llvm-svn: 247367
This commit is contained in:
David Majnemer 2015-09-11 00:53:15 +00:00
parent b56c8bce32
commit e03226b1d9
1 changed files with 0 additions and 4 deletions

View File

@ -1496,10 +1496,6 @@ TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType,
msg = 0;
return TC_Failed;
}
} else if (DestType->isMemberPointerType()) {
if (Self.Context.getTargetInfo().getCXXABI().isMicrosoft()) {
Self.RequireCompleteType(OpRange.getBegin(), DestType, 0);
}
}
InitializedEntity Entity = InitializedEntity::InitializeTemporary(DestType);