diff options
Diffstat (limited to 'tools/libclang/IndexDecl.cpp')
-rw-r--r-- | tools/libclang/IndexDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/IndexDecl.cpp b/tools/libclang/IndexDecl.cpp index 0d6dacb775..96a21d8486 100644 --- a/tools/libclang/IndexDecl.cpp +++ b/tools/libclang/IndexDecl.cpp @@ -97,7 +97,7 @@ public: bool VisitObjCInterfaceDecl(ObjCInterfaceDecl *D) { // Forward decls are handled at VisitObjCClassDecl. - if (D->isForwardDecl()) + if (!D->isThisDeclarationADefinition()) return true; IndexCtx.handleObjCInterface(D); |