diff options
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r-- | lib/AST/Type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index e01346cdb6..d375e7c59d 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -927,7 +927,7 @@ bool Type::isIncompleteType() const { ->isIncompleteType(); case ObjCInterface: // ObjC interfaces are incomplete if they are @class, not @interface. - return cast<ObjCInterfaceType>(CanonicalType)->getDecl()->isForwardDecl(); + return !cast<ObjCInterfaceType>(CanonicalType)->getDecl()->hasDefinition(); } } |