reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
385 if (D->isThisDeclarationADefinition()) { 386 TRY_DECL(D, IndexCtx.handleDecl(D)); 386 TRY_DECL(D, IndexCtx.handleDecl(D)); 387 SourceLocation SuperLoc = D->getSuperClassLoc(); 388 if (auto *SuperD = D->getSuperClass()) { 390 if (auto *TInfo = D->getSuperClassTInfo()) { 394 TRY_TO(IndexCtx.handleReference(TD, SuperLoc, D, D, 394 TRY_TO(IndexCtx.handleReference(TD, SuperLoc, D, D, 402 TRY_TO(IndexCtx.handleReference(SuperD, SuperLoc, D, D, superRoles, 402 TRY_TO(IndexCtx.handleReference(SuperD, SuperLoc, D, D, superRoles, 403 SymbolRelation{(unsigned)SymbolRole::RelationBaseOf, D})); 405 TRY_TO(handleReferencedProtocols(D->getReferencedProtocols(), D, 405 TRY_TO(handleReferencedProtocols(D->getReferencedProtocols(), D, 407 TRY_TO(IndexCtx.indexDeclContext(D)); 409 return IndexCtx.handleReference(D, D->getLocation(), nullptr, 409 return IndexCtx.handleReference(D, D->getLocation(), nullptr, 410 D->getDeclContext(), SymbolRoleSet());