reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Index/IndexDecl.cpp
   60       IndexCtx.indexBody(LocInfo.getAsExpr(), Parent, DC);
   63       IndexCtx.indexTypeSourceInfo(LocInfo.getAsTypeSourceInfo(), Parent, DC);
   67       IndexCtx.indexNestedNameSpecifierLoc(TALoc.getTemplateQualifierLoc(),
   73           IndexCtx.handleReference(TTD, TALoc.getTemplateNameLoc(), Parent, DC);
   86     IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent,
   89     IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent);
   90     if (IndexCtx.shouldIndexFunctionLocalSymbols()) {
   94           if (IndexCtx.shouldIndexParametersInDeclarations() ||
   96             IndexCtx.handleDecl(Parm);
   99             IndexCtx.handleDecl(Parm);
  101           IndexCtx.handleDecl(Parm);
  104         if (IndexCtx.shouldIndexParametersInDeclarations() ||
  107             IndexCtx.handleDecl(PI);
  118               IndexCtx.indexBody(PV->getDefaultArg(), D);
  163       IndexCtx.handleReference(D, AttrLoc, cast<NamedDecl>(D->getDeclContext()),
  167     TRY_DECL(D, IndexCtx.handleDecl(D, MethodLoc, Roles, Relations));
  167     TRY_DECL(D, IndexCtx.handleDecl(D, MethodLoc, Roles, Relations));
  168     IndexCtx.indexTypeSourceInfo(D->getReturnTypeSourceInfo(), D);
  178         IndexCtx.indexBody(Body, D, D);
  193     if (!IndexCtx.getLangOpts().CPlusPlus)
  245     TRY_DECL(D, IndexCtx.handleDecl(D, Roles, Relations));
  245     TRY_DECL(D, IndexCtx.handleDecl(D, Roles, Relations));
  249       IndexCtx.handleReference(Ctor->getParent(), Ctor->getLocation(),
  256           IndexCtx.indexTypeSourceInfo(Init->getTypeSourceInfo(), D);
  258             IndexCtx.handleReference(Member, Init->getMemberLocation(), D, D,
  260           IndexCtx.indexBody(Init->getInit(), D, D);
  265         IndexCtx.handleReference(Dtor->getParent(),
  271       IndexCtx.handleReference(Guide->getDeducedTemplate()->getTemplatedDecl(),
  285         IndexCtx.indexBody(Body, D, D);
  294     TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
  294     TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
  296     IndexCtx.indexBody(D->getInit(), D);
  302       TRY_DECL(Binding, IndexCtx.handleDecl(Binding));
  302       TRY_DECL(Binding, IndexCtx.handleDecl(Binding));
  309     TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
  309     TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
  312       IndexCtx.indexBody(D->getBitWidth(), D);
  314       IndexCtx.indexBody(D->getInClassInitializer(), D);
  323     TRY_DECL(D, IndexCtx.handleDecl(D));
  323     TRY_DECL(D, IndexCtx.handleDecl(D));
  329     TRY_DECL(D, IndexCtx.handleDecl(D));
  329     TRY_DECL(D, IndexCtx.handleDecl(D));
  335     TRY_DECL(D, IndexCtx.handleDecl(D));
  335     TRY_DECL(D, IndexCtx.handleDecl(D));
  336     IndexCtx.indexBody(D->getInitExpr(), D);
  344       TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
  344       TRY_DECL(D, IndexCtx.handleDecl(D, SymbolRoleSet(), Relations));
  345       IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D);
  356         IndexCtx.indexTagDecl(D, Relations);
  360         return IndexCtx.handleDecl(D, D->getLocation(), SymbolRoleSet(),
  378       TRY_TO(IndexCtx.handleReference(PD, Loc, ContD, ContD, roles,
  386       TRY_DECL(D, IndexCtx.handleDecl(D));
  386       TRY_DECL(D, IndexCtx.handleDecl(D));
  394               TRY_TO(IndexCtx.handleReference(TD, SuperLoc, D, D,
  402         TRY_TO(IndexCtx.handleReference(SuperD, SuperLoc, D, D, superRoles,
  407       TRY_TO(IndexCtx.indexDeclContext(D));
  409       return IndexCtx.handleReference(D, D->getLocation(), nullptr,
  417       TRY_DECL(D, IndexCtx.handleDecl(D));
  417       TRY_DECL(D, IndexCtx.handleDecl(D));
  420       TRY_TO(IndexCtx.indexDeclContext(D));
  422       return IndexCtx.handleReference(D, D->getLocation(), nullptr,
  434       IndexCtx.handleDecl(Class);
  436     TRY_DECL(D, IndexCtx.handleDecl(D));
  436     TRY_DECL(D, IndexCtx.handleDecl(D));
  443         IndexCtx.indexDecl(I);
  448         IndexCtx.indexDecl(I);
  455     if (!IndexCtx.shouldIndex(D))
  460     TRY_TO(IndexCtx.handleReference(C, D->getLocation(), D, D, SymbolRoleSet(),
  467     TRY_TO(IndexCtx.handleDecl(D, CategoryLoc));
  470     TRY_TO(IndexCtx.indexDeclContext(D));
  480       TRY_TO(IndexCtx.handleReference(C, D->getLocation(), D, D,
  485     TRY_DECL(D, IndexCtx.handleDecl(D, CategoryLoc));
  485     TRY_DECL(D, IndexCtx.handleDecl(D, CategoryLoc));
  486     IndexCtx.indexDeclContext(D);
  507     TRY_DECL(D, IndexCtx.handleDecl(D));
  507     TRY_DECL(D, IndexCtx.handleDecl(D));
  509       IndexCtx.indexTypeSourceInfo(attr->getInterfaceLoc(), D,
  511     IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D);
  528     TRY_DECL(D, IndexCtx.handleDecl(D, Loc, Roles, Relations));
  528     TRY_DECL(D, IndexCtx.handleDecl(D, Loc, Roles, Relations));
  539         IndexCtx.handleDecl(MD, Loc, AccessorMethodRoles, {}, Container);
  544         IndexCtx.handleDecl(MD, Loc, AccessorMethodRoles, {}, Container);
  562         TRY_DECL(IvarD, IndexCtx.handleDecl(IvarD, IvarLoc, IvarRoles));
  562         TRY_DECL(IvarD, IndexCtx.handleDecl(IvarD, IvarLoc, IvarRoles));
  564         IndexCtx.handleReference(IvarD, D->getPropertyIvarDeclLoc(), nullptr,
  572     TRY_DECL(D, IndexCtx.handleDecl(D));
  572     TRY_DECL(D, IndexCtx.handleDecl(D));
  573     IndexCtx.indexDeclContext(D);
  578     TRY_DECL(D, IndexCtx.handleDecl(D));
  578     TRY_DECL(D, IndexCtx.handleDecl(D));
  579     IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), D);
  580     IndexCtx.handleReference(D->getAliasedNamespace(), D->getTargetNameLoc(), D,
  586     IndexCtx.handleDecl(D);
  590     IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent,
  593       IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent,
  605       IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent,
  608     return IndexCtx.handleReference(D->getNominatedNamespaceAsWritten(),
  615     TRY_DECL(D, IndexCtx.handleDecl(D));
  615     TRY_DECL(D, IndexCtx.handleDecl(D));
  618     IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent,
  624     TRY_DECL(D, IndexCtx.handleDecl(D));
  624     TRY_DECL(D, IndexCtx.handleDecl(D));
  627     IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent,
  644       IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), D);
  645     IndexCtx.indexTagDecl(
  649       IndexCtx.indexTypeSourceInfo(TSI, /*Parent=*/nullptr,
  679         if (IndexCtx.shouldIndexTemplateParameters())
  680           IndexCtx.handleDecl(TP);
  683             IndexCtx.indexTypeSourceInfo(TTP->getDefaultArgumentInfo(), Parent);
  686             IndexCtx.indexBody(NTTP->getDefaultArgument(), Parent);
  711       IndexCtx.indexTypeSourceInfo(Ty, cast<NamedDecl>(D->getDeclContext()));
  717     return IndexCtx.importedModule(D);
  721     IndexCtx.indexBody(D->getAssertExpr(),