Lines Matching full:dinfo
312 DeclInfo &DInfo,
320 getEntityInfo(D, DInfo.EntInfo, SA);
321 if ((!shouldIndexFunctionLocalSymbols() && !DInfo.EntInfo.USR)
331 DInfo.entityInfo = &DInfo.EntInfo;
332 DInfo.cursor = Cursor;
333 DInfo.loc = getIndexLoc(Loc);
334 DInfo.isImplicit = D->isImplicit();
336 DInfo.attributes = DInfo.EntInfo.attributes;
337 DInfo.numAttributes = DInfo.EntInfo.numAttributes;
339 getContainerInfo(D->getDeclContext(), DInfo.SemanticContainer);
340 DInfo.semanticContainer = &DInfo.SemanticContainer;
343 DInfo.lexicalContainer = &DInfo.SemanticContainer;
351 DInfo.lexicalContainer = &DInfo.SemanticContainer;
353 getContainerInfo(LexicalDC, DInfo.LexicalContainer);
354 DInfo.lexicalContainer = &DInfo.LexicalContainer;
357 if (DInfo.isContainer) {
358 getContainerInfo(getEntityContainer(D), DInfo.DeclAsContainer);
359 DInfo.declAsContainer = &DInfo.DeclAsContainer;
362 CB.indexDeclaration(ClientData, &DInfo);
383 DeclInfo DInfo(!D->isFirstDeclaration(), isDef, isContainer);
385 DInfo.flags |= CXIdxDeclFlag_Skipped;
386 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
390 DeclInfo DInfo(!D->isFirstDeclaration(), D->isThisDeclarationADefinition(),
392 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
396 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true,
398 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
402 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true,
404 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
408 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true,
410 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
417 DeclInfo DInfo(!D->isFirstDeclaration(), D->isThisDeclarationADefinition(),
419 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
423 DeclInfo DInfo(!D->isFirstDeclaration(), /*isDefinition=*/true,
425 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
583 DeclInfo DInfo(!D->isCanonicalDecl(), isDef, isContainer);
585 DInfo.flags |= CXIdxDeclFlag_Skipped;
586 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
598 DeclInfo DInfo(/*isRedeclaration=*/true, /*isDefinition=*/true,
600 return handleDecl(D, Loc, getCursor(D), DInfo, LexicalDC);
606 ObjCPropertyDeclInfo DInfo;
610 DInfo.ObjCPropDeclInfo.declInfo = &DInfo;
614 DInfo.ObjCPropDeclInfo.getter = &GetterEntity;
616 DInfo.ObjCPropDeclInfo.getter = 0;
620 DInfo.ObjCPropDeclInfo.setter = &SetterEntity;
622 DInfo.ObjCPropDeclInfo.setter = 0;
625 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
629 DeclInfo DInfo(/*isRedeclaration=*/!D->isOriginalNamespace(),
632 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
640 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(),
643 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
647 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(),
649 return handleDecl(D, D->getLocation(), getCursor(D), DInfo);
781 DeclInfo DInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(),
784 return handleDecl(OrigD, OrigD->getLocation(), getCursor(OrigD), DInfo);