• Home
  • Raw
  • Download

Lines Matching refs:IndexCtx

26   IndexingContext &IndexCtx;  member in __anon67ce83f20111::IndexingDeclVisitor
30 : IndexCtx(indexCtx) { } in IndexingDeclVisitor()
52 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent); in handleDeclarator()
53 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent); in handleDeclarator()
54 if (IndexCtx.shouldIndexFunctionLocalSymbols()) { in handleDeclarator()
61 IndexCtx.handleDecl(Parm); in handleDeclarator()
64 IndexCtx.handleDecl(Parm); in handleDeclarator()
66 IndexCtx.handleDecl(Parm); in handleDeclarator()
71 IndexCtx.handleDecl(PI); in handleDeclarator()
79 if (!IndexCtx.handleDecl(D, (unsigned)SymbolRole::Dynamic)) in handleObjCMethod()
81 IndexCtx.indexTypeSourceInfo(D->getReturnTypeSourceInfo(), D); in handleObjCMethod()
88 IndexCtx.indexBody(Body, D, D); in handleObjCMethod()
109 if (!IndexCtx.handleDecl(D, Roles, Relations)) in VisitFunctionDecl()
117 IndexCtx.indexTypeSourceInfo(Init->getTypeSourceInfo(), D); in VisitFunctionDecl()
119 IndexCtx.handleReference(Member, Init->getMemberLocation(), D, D, in VisitFunctionDecl()
121 IndexCtx.indexBody(Init->getInit(), D, D); in VisitFunctionDecl()
129 IndexCtx.indexBody(Body, D, D); in VisitFunctionDecl()
136 if (!IndexCtx.handleDecl(D)) in VisitVarDecl()
139 IndexCtx.indexBody(D->getInit(), D); in VisitVarDecl()
144 if (!IndexCtx.handleDecl(D)) in VisitFieldDecl()
148 IndexCtx.indexBody(D->getBitWidth(), D); in VisitFieldDecl()
150 IndexCtx.indexBody(D->getInClassInitializer(), D); in VisitFieldDecl()
161 return IndexCtx.handleDecl(D, in VisitObjCIvarDecl()
165 if (!IndexCtx.handleDecl(D)) in VisitObjCIvarDecl()
177 if (!IndexCtx.handleDecl(D)) in VisitEnumConstantDecl()
179 IndexCtx.indexBody(D->getInitExpr(), D); in VisitEnumConstantDecl()
184 if (!IndexCtx.handleDecl(D)) in VisitTypedefNameDecl()
186 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitTypedefNameDecl()
194 IndexCtx.indexTagDecl(D); in VisitTagDecl()
197 return IndexCtx.handleReference(D, D->getLocation(), Parent, in VisitTagDecl()
212 TRY_TO(IndexCtx.handleReference(PD, Loc, ContD, ContD, in handleReferencedProtocols()
221 TRY_TO(IndexCtx.handleDecl(D)); in VisitObjCInterfaceDecl()
223 TRY_TO(IndexCtx.handleReference(SuperD, D->getSuperClassLoc(), D, D, in VisitObjCInterfaceDecl()
228 TRY_TO(IndexCtx.indexDeclContext(D)); in VisitObjCInterfaceDecl()
230 return IndexCtx.handleReference(D, D->getLocation(), nullptr, in VisitObjCInterfaceDecl()
238 TRY_TO(IndexCtx.handleDecl(D)); in VisitObjCProtocolDecl()
240 TRY_TO(IndexCtx.indexDeclContext(D)); in VisitObjCProtocolDecl()
242 return IndexCtx.handleReference(D, D->getLocation(), nullptr, in VisitObjCProtocolDecl()
254 IndexCtx.handleDecl(Class); in VisitObjCImplementationDecl()
256 if (!IndexCtx.handleDecl(D)) in VisitObjCImplementationDecl()
262 IndexCtx.indexDecl(IvarI); in VisitObjCImplementationDecl()
265 IndexCtx.indexDecl(I); in VisitObjCImplementationDecl()
272 if (!IndexCtx.handleDecl(D)) in VisitObjCCategoryDecl()
274 IndexCtx.indexDeclContext(D); in VisitObjCCategoryDecl()
283 if (!IndexCtx.handleDecl(D)) in VisitObjCCategoryImplDecl()
285 IndexCtx.indexDeclContext(D); in VisitObjCCategoryImplDecl()
306 if (!IndexCtx.handleDecl(D)) in VisitObjCPropertyDecl()
308 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); in VisitObjCPropertyDecl()
314 if (!IndexCtx.handleReference(PD, D->getLocation(), in VisitObjCPropertyImplDecl()
326 IndexCtx.handleReference(IvarD, D->getPropertyIvarDeclLoc(), nullptr, in VisitObjCPropertyImplDecl()
334 IndexCtx.handleDecl(MD, D->getLocation(), SymbolRoleSet(), {}, ImplD); in VisitObjCPropertyImplDecl()
339 IndexCtx.handleDecl(MD, D->getLocation(), SymbolRoleSet(), {}, ImplD); in VisitObjCPropertyImplDecl()
345 if (!IndexCtx.handleDecl(D)) in VisitNamespaceDecl()
347 IndexCtx.indexDeclContext(D); in VisitNamespaceDecl()
355 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent, in VisitUsingDecl()
358 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
367 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent, in VisitUsingDirectiveDecl()
369 return IndexCtx.handleReference(D->getNominatedNamespaceAsWritten(), in VisitUsingDirectiveDecl()
380 IndexCtx.indexTagDecl(D); in VisitClassTemplateSpecializationDecl()
402 IndexCtx.indexTypeSourceInfo(Ty, cast<NamedDecl>(D->getDeclContext())); in VisitFriendDecl()
408 return IndexCtx.importedModule(D); in VisitImportDecl()