diff options
Diffstat (limited to 'clang/lib/Index')
| -rw-r--r-- | clang/lib/Index/IndexingContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Index/IndexingContext.cpp b/clang/lib/Index/IndexingContext.cpp index 204e4300f87..fe814ff25a6 100644 --- a/clang/lib/Index/IndexingContext.cpp +++ b/clang/lib/Index/IndexingContext.cpp @@ -298,6 +298,7 @@ bool IndexingContext::handleDeclOccurrence(const Decl *D, SourceLocation Loc, if (Parent) Parent = getCanonicalDecl(Parent); assert(!Parent || !Parent->isImplicit() || + isa<FunctionDecl>(Parent) || isa<ObjCInterfaceDecl>(Parent) || isa<ObjCMethodDecl>(Parent)); SmallVector<SymbolRelation, 6> FinalRelations; |

