Lines Matching defs:IndexCtx

23     if (!IndexCtx.shouldIndex(D)) return true;                                 \
37 IndexingContext &IndexCtx;
41 : IndexCtx(indexCtx) { }
56 IndexCtx.indexBody(LocInfo.getAsExpr(), Parent, DC);
59 IndexCtx.indexTypeSourceInfo(LocInfo.getAsTypeSourceInfo(), Parent, DC);
63 IndexCtx.indexNestedNameSpecifierLoc(TALoc.getTemplateQualifierLoc(),
69 IndexCtx.handleReference(TTD, TALoc.getTemplateNameLoc(), Parent, DC);
93 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent,
96 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent);
101 IndexCtx.indexBody(Parm->getDefaultArg(), Parent);
103 if (IndexCtx.shouldIndexFunctionLocalSymbols()) {
107 if (IndexCtx.shouldIndexParametersInDeclarations() ||
109 IndexCtx.handleDecl(Parm);
112 IndexCtx.handleDecl(Parm);
114 IndexCtx.handleDecl(Parm);
117 if (IndexCtx.shouldIndexParametersInDeclarations() ||
121 IndexCtx.handleDecl(PI);
136 IndexCtx.indexBody(C, Parent);
177 IndexCtx.handleReference(D, AttrLoc, cast<NamedDecl>(D->getDeclContext()),
181 TRY_DECL(D, IndexCtx.handleDecl(D, MethodLoc, Roles, Relations));
182 IndexCtx.indexTypeSourceInfo(D->getReturnTypeSourceInfo(), D);
192 IndexCtx.indexBody(Body, D, D);
207 if (!IndexCtx.getLangOpts().CPlusPlus)
259 TRY_DECL(D, IndexCtx.handleDecl(D, Roles, Relations));
263 IndexCtx.handleReference(Ctor->getParent(), Ctor->getLocation(),
270 IndexCtx.indexTypeSourceInfo(Init->getTypeSourceInfo(), D);
272 IndexCtx.handleReference(Member, Init->getMemberLocation(), D, D,
274 IndexCtx.indexBody(Init->getInit(), D, D);
279 IndexCtx.handleReference(Dtor->getParent(),
285 IndexCtx.handleReference(Guide->getDeducedTemplate()->getTemplatedDecl(),
299 IndexCtx.indexBody(Body, D, D);
308 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
310 IndexCtx.indexBody(D->getInit(), D);
316 TRY_DECL(Binding, IndexCtx.handleDecl(Binding));
323 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
326 IndexCtx.indexBody(D->getBitWidth(), D);
328 IndexCtx.indexBody(D->getInClassInitializer(), D);
337 TRY_DECL(D, IndexCtx.handleDecl(D));
343 TRY_DECL(D, IndexCtx.handleDecl(D));
349 TRY_DECL(D, IndexCtx.handleDecl(D));
350 IndexCtx.indexBody(D->getInitExpr(), D);
358 TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
359 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D);
370 IndexCtx.indexTagDecl(D, Relations);
374 return IndexCtx.handleDecl(D, D->getLocation(), SymbolRoleSet(),
386 IndexCtx.indexTypeSourceInfo(TSI, ED, ED, /*isBase=*/true);
401 TRY_TO(IndexCtx.handleReference(PD, Loc, ContD, ContD, roles,
409 TRY_DECL(D, IndexCtx.handleDecl(D));
417 TRY_TO(IndexCtx.handleReference(TD, SuperLoc, D, D,
425 TRY_TO(IndexCtx.handleReference(SuperD, SuperLoc, D, D, superRoles,
430 TRY_TO(IndexCtx.indexDeclContext(D));
432 return IndexCtx.handleReference(D, D->getLocation(), nullptr,
440 TRY_DECL(D, IndexCtx.handleDecl(D));
443 TRY_TO(IndexCtx.indexDeclContext(D));
445 return IndexCtx.handleReference(D, D->getLocation(), nullptr,
457 IndexCtx.handleDecl(Class);
459 TRY_DECL(D, IndexCtx.handleDecl(D));
466 IndexCtx.indexDecl(I);
471 IndexCtx.indexDecl(I);
478 if (!IndexCtx.shouldIndex(D))
483 TRY_TO(IndexCtx.handleReference(C, D->getLocation(), D, D, SymbolRoleSet(),
490 TRY_TO(IndexCtx.handleDecl(D, CategoryLoc));
493 TRY_TO(IndexCtx.indexDeclContext(D));
503 TRY_TO(IndexCtx.handleReference(C, D->getLocation(), D, D,
508 TRY_DECL(D, IndexCtx.handleDecl(D, CategoryLoc));
509 IndexCtx.indexDeclContext(D);
530 TRY_DECL(D, IndexCtx.handleDecl(D));
532 IndexCtx.indexTypeSourceInfo(attr->getInterfaceLoc(), D,
534 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D);
551 TRY_DECL(D, IndexCtx.handleDecl(D, Loc, Roles, Relations));
561 IndexCtx.handleDecl(MD, Loc, AccessorMethodRoles, {}, Container);
565 IndexCtx.handleDecl(MD, Loc, AccessorMethodRoles, {}, Container);
583 TRY_DECL(IvarD, IndexCtx.handleDecl(IvarD, IvarLoc, IvarRoles));
585 IndexCtx.handleReference(IvarD, D->getPropertyIvarDeclLoc(), nullptr,
593 TRY_DECL(D, IndexCtx.handleDecl(D));
594 IndexCtx.indexDeclContext(D);
599 TRY_DECL(D, IndexCtx.handleDecl(D));
600 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), D);
601 IndexCtx.handleReference(D->getAliasedNamespace(), D->getTargetNameLoc(), D,
607 IndexCtx.handleDecl(D);
611 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent,
620 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent,
633 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent,
636 return IndexCtx.handleReference(D->getNominatedNamespaceAsWritten(),
643 TRY_DECL(D, IndexCtx.handleDecl(D));
646 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent,
652 TRY_DECL(D, IndexCtx.handleDecl(D));
655 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent,
672 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), D);
673 IndexCtx.indexTagDecl(
702 if (IndexCtx.shouldIndexTemplateParameters())
703 IndexCtx.handleDecl(TP);
709 IndexCtx.handleReference(C->getNamedConcept(), C->getConceptNameLoc(),
712 IndexCtx.indexTypeSourceInfo(NTTP->getTypeSourceInfo(), Parent);
723 IndexCtx.indexBody(R, Parent);
744 IndexCtx.indexBody(E, D);
745 return IndexCtx.handleDecl(D);
761 IndexCtx.indexTypeSourceInfo(Ty, cast<NamedDecl>(D->getDeclContext()));
767 return IndexCtx.importedModule(D);
771 IndexCtx.indexBody(D->getAssertExpr(),