summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-09-11 00:53:15 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-09-11 00:53:15 +0000
commite03226b1d90f5cce9eeb08f0a6f8755348c09b8d (patch)
tree1944b466ab35e97129ab50c57aa31a53c02de25c /clang/lib
parentb56c8bce32394665f45c6a735355f031b71c6998 (diff)
downloadbcm5719-llvm-e03226b1d90f5cce9eeb08f0a6f8755348c09b8d.tar.gz
bcm5719-llvm-e03226b1d90f5cce9eeb08f0a6f8755348c09b8d.zip
[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
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaCast.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaCast.cpp b/clang/lib/Sema/SemaCast.cpp
index 446c68055a6..fa414990892 100644
--- a/clang/lib/Sema/SemaCast.cpp
+++ b/clang/lib/Sema/SemaCast.cpp
@@ -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);
OpenPOWER on IntegriCloud