Lines Matching defs:DInfo
543 DeclInfo &DInfo,
552 getEntityInfo(D, DInfo.EntInfo, SA);
553 if ((!shouldIndexFunctionLocalSymbols() && !DInfo.EntInfo.USR)
563 DInfo.entityInfo = &DInfo.EntInfo;
564 DInfo.cursor = Cursor;
565 DInfo.loc = getIndexLoc(Loc);
566 DInfo.isImplicit = D->isImplicit();
568 DInfo.attributes = DInfo.EntInfo.attributes;
569 DInfo.numAttributes = DInfo.EntInfo.numAttributes;
573 getContainerInfo(SemaDC, DInfo.SemanticContainer);
574 DInfo.semanticContainer = &DInfo.SemanticContainer;
577 DInfo.lexicalContainer = &DInfo.SemanticContainer;
585 DInfo.lexicalContainer = &DInfo.SemanticContainer;
587 getContainerInfo(LexicalDC, DInfo.LexicalContainer);
588 DInfo.lexicalContainer = &DInfo.LexicalContainer;
591 if (DInfo.isContainer) {
592 getContainerInfo(getEntityContainer(D), DInfo.DeclAsContainer);
593 DInfo.declAsContainer = &DInfo.DeclAsContainer;
596 CB.indexDeclaration(ClientData, &DInfo);
617 DeclInfo DInfo(!D->isFirstDecl(), isDef, isContainer);
619 DInfo.flags |= CXIdxDeclFlag_Skipped;
620 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
624 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(),
626 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
630 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true,
632 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
636 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true,
638 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
645 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(),
647 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
651 DeclInfo DInfo(!D->isFirstDecl(), /*isDefinition=*/true,
653 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
813 DeclInfo DInfo(!D->isCanonicalDecl(), isDef, isContainer);
815 DInfo.flags |= CXIdxDeclFlag_Skipped;
816 return handleDecl(D, Loc, getCursor(D), DInfo);
830 DeclInfo DInfo(/*isRedeclaration=*/true, /*isDefinition=*/true,
832 return handleDecl(D, Loc, getCursor(D), DInfo, LexicalDC, D->getDeclContext());
838 ObjCPropertyDeclInfo DInfo;
842 DInfo.ObjCPropDeclInfo.declInfo = &DInfo;
846 DInfo.ObjCPropDeclInfo.getter = &GetterEntity;
848 DInfo.ObjCPropDeclInfo.getter = nullptr;
852 DInfo.ObjCPropDeclInfo.setter = &SetterEntity;
854 DInfo.ObjCPropDeclInfo.setter = nullptr;
857 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
861 DeclInfo DInfo(/*isRedeclaration=*/!D->isOriginalNamespace(),
864 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
872 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(),
875 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
879 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(),
881 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
1002 DeclInfo DInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(),
1005 return handleDecl(OrigD, OrigD->getLocation(), getCursor(OrigD), DInfo);