forked from OSchip/llvm-project
[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:
parent
b56c8bce32
commit
e03226b1d9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue