Lines Matching defs:DInfo
546 DeclInfo &DInfo,
555 getEntityInfo(D, DInfo.EntInfo, SA);
556 if ((!shouldIndexFunctionLocalSymbols() && !DInfo.EntInfo.USR)
566 DInfo.entityInfo = &DInfo.EntInfo;
567 DInfo.cursor = Cursor;
568 DInfo.loc = getIndexLoc(Loc);
569 DInfo.isImplicit = D->isImplicit();
571 DInfo.attributes = DInfo.EntInfo.attributes;
572 DInfo.numAttributes = DInfo.EntInfo.numAttributes;
576 getContainerInfo(SemaDC, DInfo.SemanticContainer);
577 DInfo.semanticContainer = &DInfo.SemanticContainer;
580 DInfo.lexicalContainer = &DInfo.SemanticContainer;
588 DInfo.lexicalContainer = &DInfo.SemanticContainer;
590 getContainerInfo(LexicalDC, DInfo.LexicalContainer);
591 DInfo.lexicalContainer = &DInfo.LexicalContainer;
594 if (DInfo.isContainer) {
595 getContainerInfo(getEntityContainer(D), DInfo.DeclAsContainer);
596 DInfo.declAsContainer = &DInfo.DeclAsContainer;
599 CB.indexDeclaration(ClientData, &DInfo);
620 DeclInfo DInfo(!D->isFirstDecl(), isDef, isContainer);
622 DInfo.flags |= CXIdxDeclFlag_Skipped;
623 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
627 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(),
629 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
633 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true,
635 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
639 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true,
641 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
648 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(),
650 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
654 DeclInfo DInfo(!D->isFirstDecl(), /*isDefinition=*/true,
656 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
816 DeclInfo DInfo(!D->isCanonicalDecl(), isDef, isContainer);
818 DInfo.flags |= CXIdxDeclFlag_Skipped;
819 return handleDecl(D, Loc, getCursor(D), DInfo);
833 DeclInfo DInfo(/*isRedeclaration=*/true, /*isDefinition=*/true,
835 return handleDecl(D, Loc, getCursor(D), DInfo, LexicalDC, D->getDeclContext());
841 ObjCPropertyDeclInfo DInfo;
845 DInfo.ObjCPropDeclInfo.declInfo = &DInfo;
849 DInfo.ObjCPropDeclInfo.getter = &GetterEntity;
851 DInfo.ObjCPropDeclInfo.getter = nullptr;
855 DInfo.ObjCPropDeclInfo.setter = &SetterEntity;
857 DInfo.ObjCPropDeclInfo.setter = nullptr;
860 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
864 DeclInfo DInfo(/*isRedeclaration=*/!D->isFirstDecl(),
867 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
875 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(),
878 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
882 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(),
884 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
888 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(),
890 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
1000 DeclInfo DInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(),
1003 return handleDecl(OrigD, OrigD->getLocation(), getCursor(OrigD), DInfo);