Lines Matching refs:AddDeclRef
186 Writer.AddDeclRef(D, Record); in AddTemplateSpecializations()
191 Writer.AddDeclRef(D, Record); in AddTemplateSpecializations()
220 Writer.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()), Record); in VisitDecl()
221 Writer.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext()), Record); in VisitDecl()
298 Writer.AddDeclRef(D->getDescribedAliasTemplate(), Record); in VisitTypeAliasDecl()
319 Writer.AddDeclRef(TD, Record); in VisitTagDecl()
323 Writer.AddDeclRef(DD, Record); in VisitTagDecl()
341 Writer.AddDeclRef(MemberInfo->getInstantiatedFrom(), Record); in VisitEnumDecl()
345 Writer.AddDeclRef(nullptr, Record); in VisitEnumDecl()
452 Writer.AddDeclRef(D->getDescribedFunctionTemplate(), Record); in VisitFunctionDecl()
456 Writer.AddDeclRef(MemberInfo->getInstantiatedFrom(), Record); in VisitFunctionDecl()
464 Writer.AddDeclRef(FTSInfo->getTemplate(), Record); in VisitFunctionDecl()
489 Writer.AddDeclRef(FTSInfo->getTemplate()->getCanonicalDecl(), Record); in VisitFunctionDecl()
500 Writer.AddDeclRef(DFTSInfo->getTemplate(i), Record); in VisitFunctionDecl()
514 Writer.AddDeclRef(P, Record); in VisitFunctionDecl()
527 Writer.AddDeclRef(D->getSelfDecl(), Record); in VisitObjCMethodDecl()
528 Writer.AddDeclRef(D->getCmdDecl(), Record); in VisitObjCMethodDecl()
541 Writer.AddDeclRef(Context.getObjCMethodRedeclaration(D), Record); in VisitObjCMethodDecl()
554 Writer.AddDeclRef(P, Record); in VisitObjCMethodDecl()
583 Writer.AddDeclRef(D->getSuperClass(), Record); in VisitObjCInterfaceDecl()
591 Writer.AddDeclRef(P, Record); in VisitObjCInterfaceDecl()
601 Writer.AddDeclRef(*P, Record); in VisitObjCInterfaceDecl()
645 Writer.AddDeclRef(I, Record); in VisitObjCProtocolDecl()
663 Writer.AddDeclRef(D->getClassInterface(), Record); in VisitObjCCategoryDecl()
666 Writer.AddDeclRef(I, Record); in VisitObjCCategoryDecl()
674 Writer.AddDeclRef(D->getClassInterface(), Record); in VisitObjCCompatibleAliasDecl()
690 Writer.AddDeclRef(D->getGetterMethodDecl(), Record); in VisitObjCPropertyDecl()
691 Writer.AddDeclRef(D->getSetterMethodDecl(), Record); in VisitObjCPropertyDecl()
692 Writer.AddDeclRef(D->getPropertyIvarDecl(), Record); in VisitObjCPropertyDecl()
698 Writer.AddDeclRef(D->getClassInterface(), Record); in VisitObjCImplDecl()
711 Writer.AddDeclRef(D->getSuperClass(), Record); in VisitObjCImplementationDecl()
727 Writer.AddDeclRef(D->getPropertyDecl(), Record); in VisitObjCPropertyImplDecl()
728 Writer.AddDeclRef(D->getPropertyIvarDecl(), Record); in VisitObjCPropertyImplDecl()
751 Writer.AddDeclRef(Context.getInstantiatedFromUnnamedFieldDecl(D), Record); in VisitFieldDecl()
783 Writer.AddDeclRef(P, Record); in VisitIndirectFieldDecl()
814 Writer.AddDeclRef(TemplD, Record); in VisitVarDecl()
818 Writer.AddDeclRef(SpecInfo->getInstantiatedFrom(), Record); in VisitVarDecl()
920 Writer.AddDeclRef(*P, Record); in VisitBlockDecl()
927 Writer.AddDeclRef(capture.getVariable(), Record); in VisitBlockDecl()
948 Writer.AddDeclRef(CD->getParam(I), Record); in VisitCapturedDecl()
975 Writer.AddDeclRef(D->getAnonymousNamespace(), Record); in VisitNamespaceDecl()
1033 Writer.AddDeclRef(D->getNamespace(), Record); in VisitNamespaceAliasDecl()
1042 Writer.AddDeclRef(D->FirstUsingShadow.getPointer(), Record); in VisitUsingDecl()
1044 Writer.AddDeclRef(Context.getInstantiatedFromUsingDecl(D), Record); in VisitUsingDecl()
1051 Writer.AddDeclRef(D->getTargetDecl(), Record); in VisitUsingShadowDecl()
1052 Writer.AddDeclRef(D->UsingOrNextShadow, Record); in VisitUsingShadowDecl()
1053 Writer.AddDeclRef(Context.getInstantiatedFromUsingShadowDecl(D), Record); in VisitUsingShadowDecl()
1062 Writer.AddDeclRef(D->getNominatedNamespace(), Record); in VisitUsingDirectiveDecl()
1063 Writer.AddDeclRef(dyn_cast<Decl>(D->getCommonAncestor()), Record); in VisitUsingDirectiveDecl()
1091 Writer.AddDeclRef(TemplD, Record); in VisitCXXRecordDecl()
1095 Writer.AddDeclRef(MSInfo->getInstantiatedFrom(), Record); in VisitCXXRecordDecl()
1109 Writer.AddDeclRef(Context.getCurrentKeyFunction(D), Record); in VisitCXXRecordDecl()
1121 Writer.AddDeclRef(*I, Record); in VisitCXXMethodDecl()
1143 Writer.AddDeclRef(D->getInheritedConstructor(), Record); in VisitCXXConstructorDecl()
1152 Writer.AddDeclRef(D->getOperatorDelete(), Record); in VisitCXXDestructorDecl()
1195 Writer.AddDeclRef(D->getFriendDecl(), Record); in VisitFriendDecl()
1201 Writer.AddDeclRef(D->getNextFriend(), Record); in VisitFriendDecl()
1214 Writer.AddDeclRef(D->getFriendDecl(), Record); in VisitFriendTemplateDecl()
1224 Writer.AddDeclRef(D->getTemplatedDecl(), Record); in VisitTemplateDecl()
1235 Writer.AddDeclRef(D->getInstantiatedFromMemberTemplate(), Record); in VisitRedeclarableTemplateDecl()
1260 Writer.AddDeclRef(InstFromD, Record); in VisitClassTemplateSpecializationDecl()
1262 Writer.AddDeclRef(InstFrom.get<ClassTemplatePartialSpecializationDecl *>(), in VisitClassTemplateSpecializationDecl()
1274 Writer.AddDeclRef(D->getSpecializedTemplate()->getCanonicalDecl(), Record); in VisitClassTemplateSpecializationDecl()
1296 Writer.AddDeclRef(D->getInstantiatedFromMember(), Record); in VisitClassTemplatePartialSpecializationDecl()
1318 Writer.AddDeclRef(InstFromD, Record); in VisitVarTemplateSpecializationDecl()
1320 Writer.AddDeclRef(InstFrom.get<VarTemplatePartialSpecializationDecl *>(), in VisitVarTemplateSpecializationDecl()
1339 Writer.AddDeclRef(D->getSpecializedTemplate()->getCanonicalDecl(), Record); in VisitVarTemplateSpecializationDecl()
1354 Writer.AddDeclRef(D->getInstantiatedFromMember(), Record); in VisitVarTemplatePartialSpecializationDecl()
1364 Writer.AddDeclRef(D->getSpecialization(), Record); in VisitClassScopeFunctionSpecializationDecl()
1486 Writer.AddDeclRef(First, Record); in VisitRedeclarable()
1516 Writer.AddDeclRef(I->second, Record); in VisitRedeclarable()