Lines Matching refs:Writer
36 ASTWriter &Writer; member in clang::ASTDeclWriter
45 ASTDeclWriter(ASTWriter &Writer, ASTContext &Context, RecordData &Record) in ASTDeclWriter() argument
46 : Writer(Writer), Context(Context), Record(Record) { in ASTDeclWriter()
139 Writer.AddCXXCtorInitializersRef( in AddFunctionDefinition()
142 Writer.AddStmt(FD->getBody()); in AddFunctionDefinition()
168 if (Writer.Chain != Writer.Context->getExternalSource() && in AddTemplateSpecializations()
186 Writer.AddDeclRef(D, Record); in AddTemplateSpecializations()
191 Writer.AddDeclRef(D, Record); in AddTemplateSpecializations()
206 Writer.AddTypeSourceInfo(DD->getTypeSourceInfo(), Record); in Visit()
220 Writer.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()), Record); in VisitDecl()
221 Writer.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext()), Record); in VisitDecl()
225 Writer.WriteAttributes(llvm::makeArrayRef(D->getAttrs().begin(), in VisitDecl()
233 Record.push_back(Writer.inferSubmoduleIDFromLocation(D->getLocation())); in VisitDecl()
246 Writer.UpdatedDeclContexts.insert(NS->getPrimaryContext()); in VisitDecl()
260 Writer.AddDeclarationName(D->getDeclName(), Record); in VisitNamedDecl()
262 ? Writer.getAnonymousDeclarationNumber(D) in VisitNamedDecl()
268 Writer.AddSourceLocation(D->getLocStart(), Record); in VisitTypeDecl()
269 Writer.AddTypeRef(QualType(D->getTypeForDecl(), 0), Record); in VisitTypeDecl()
275 Writer.AddTypeSourceInfo(D->getTypeSourceInfo(), Record); in VisitTypedefNameDecl()
278 Writer.AddTypeRef(D->getUnderlyingType(), Record); in VisitTypedefNameDecl()
291 AbbrevToUse = Writer.getDeclTypedefAbbrev(); in VisitTypedefDecl()
298 Writer.AddDeclRef(D->getDescribedAliasTemplate(), Record); in VisitTypeAliasDecl()
312 Writer.AddSourceLocation(D->getRBraceLoc(), Record); in VisitTagDecl()
316 Writer.AddQualifierInfo(*D->getExtInfo(), Record); in VisitTagDecl()
319 Writer.AddDeclRef(TD, Record); in VisitTagDecl()
320 Writer.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo(), Record); in VisitTagDecl()
323 Writer.AddDeclRef(DD, Record); in VisitTagDecl()
331 Writer.AddTypeSourceInfo(D->getIntegerTypeSourceInfo(), Record); in VisitEnumDecl()
333 Writer.AddTypeRef(D->getIntegerType(), Record); in VisitEnumDecl()
334 Writer.AddTypeRef(D->getPromotionType(), Record); in VisitEnumDecl()
341 Writer.AddDeclRef(MemberInfo->getInstantiatedFrom(), Record); in VisitEnumDecl()
343 Writer.AddSourceLocation(MemberInfo->getPointOfInstantiation(), Record); in VisitEnumDecl()
345 Writer.AddDeclRef(nullptr, Record); in VisitEnumDecl()
365 AbbrevToUse = Writer.getDeclEnumAbbrev(); in VisitEnumDecl()
392 AbbrevToUse = Writer.getDeclRecordAbbrev(); in VisitRecordDecl()
399 Writer.AddTypeRef(D->getType(), Record); in VisitValueDecl()
406 Writer.AddStmt(D->getInitExpr()); in VisitEnumConstantDecl()
407 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
414 Writer.AddSourceLocation(D->getInnerLocStart(), Record); in VisitDeclaratorDecl()
417 Writer.AddQualifierInfo(*D->getExtInfo(), Record); in VisitDeclaratorDecl()
423 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitFunctionDecl()
445 Writer.AddSourceLocation(D->getLocEnd(), Record); in VisitFunctionDecl()
452 Writer.AddDeclRef(D->getDescribedFunctionTemplate(), Record); in VisitFunctionDecl()
456 Writer.AddDeclRef(MemberInfo->getInstantiatedFrom(), Record); in VisitFunctionDecl()
458 Writer.AddSourceLocation(MemberInfo->getPointOfInstantiation(), Record); in VisitFunctionDecl()
464 Writer.AddDeclRef(FTSInfo->getTemplate(), Record); in VisitFunctionDecl()
468 Writer.AddTemplateArgumentList(FTSInfo->TemplateArguments, Record); in VisitFunctionDecl()
476 Writer.AddTemplateArgumentLoc((*FTSInfo->TemplateArgumentsAsWritten)[i], in VisitFunctionDecl()
478 Writer.AddSourceLocation(FTSInfo->TemplateArgumentsAsWritten->LAngleLoc, in VisitFunctionDecl()
480 Writer.AddSourceLocation(FTSInfo->TemplateArgumentsAsWritten->RAngleLoc, in VisitFunctionDecl()
484 Writer.AddSourceLocation(FTSInfo->getPointOfInstantiation(), Record); in VisitFunctionDecl()
489 Writer.AddDeclRef(FTSInfo->getTemplate()->getCanonicalDecl(), Record); in VisitFunctionDecl()
500 Writer.AddDeclRef(DFTSInfo->getTemplate(i), Record); in VisitFunctionDecl()
505 Writer.AddTemplateArgumentLoc(DFTSInfo->getTemplateArg(i), Record); in VisitFunctionDecl()
506 Writer.AddSourceLocation(DFTSInfo->getLAngleLoc(), Record); in VisitFunctionDecl()
507 Writer.AddSourceLocation(DFTSInfo->getRAngleLoc(), Record); in VisitFunctionDecl()
514 Writer.AddDeclRef(P, Record); in VisitFunctionDecl()
526 Writer.AddStmt(D->getBody()); in VisitObjCMethodDecl()
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()
549 Writer.AddTypeRef(D->getReturnType(), Record); in VisitObjCMethodDecl()
550 Writer.AddTypeSourceInfo(D->getReturnTypeSourceInfo(), Record); in VisitObjCMethodDecl()
551 Writer.AddSourceLocation(D->getLocEnd(), Record); in VisitObjCMethodDecl()
554 Writer.AddDeclRef(P, Record); in VisitObjCMethodDecl()
561 Writer.AddSourceLocation(SelLocs[i], Record); in VisitObjCMethodDecl()
568 Writer.AddSourceLocation(D->getAtStartLoc(), Record); in VisitObjCContainerDecl()
569 Writer.AddSourceRange(D->getAtEndRange(), Record); in VisitObjCContainerDecl()
576 Writer.AddTypeRef(QualType(D->getTypeForDecl(), 0), Record); in VisitObjCInterfaceDecl()
583 Writer.AddDeclRef(D->getSuperClass(), Record); in VisitObjCInterfaceDecl()
584 Writer.AddSourceLocation(D->getSuperClassLoc(), Record); in VisitObjCInterfaceDecl()
585 Writer.AddSourceLocation(D->getEndOfDefinitionLoc(), Record); in VisitObjCInterfaceDecl()
591 Writer.AddDeclRef(P, Record); in VisitObjCInterfaceDecl()
593 Writer.AddSourceLocation(PL, Record); in VisitObjCInterfaceDecl()
601 Writer.AddDeclRef(*P, Record); in VisitObjCInterfaceDecl()
606 Writer.ObjCClassesWithCategories.insert(D); in VisitObjCInterfaceDecl()
610 (void)Writer.GetDeclRef(Cat); in VisitObjCInterfaceDecl()
632 AbbrevToUse = Writer.getDeclObjCIvarAbbrev(); in VisitObjCIvarDecl()
645 Writer.AddDeclRef(I, Record); in VisitObjCProtocolDecl()
647 Writer.AddSourceLocation(PL, Record); in VisitObjCProtocolDecl()
660 Writer.AddSourceLocation(D->getCategoryNameLoc(), Record); in VisitObjCCategoryDecl()
661 Writer.AddSourceLocation(D->getIvarLBraceLoc(), Record); in VisitObjCCategoryDecl()
662 Writer.AddSourceLocation(D->getIvarRBraceLoc(), Record); in VisitObjCCategoryDecl()
663 Writer.AddDeclRef(D->getClassInterface(), Record); in VisitObjCCategoryDecl()
666 Writer.AddDeclRef(I, Record); in VisitObjCCategoryDecl()
668 Writer.AddSourceLocation(PL, Record); in VisitObjCCategoryDecl()
674 Writer.AddDeclRef(D->getClassInterface(), Record); in VisitObjCCompatibleAliasDecl()
680 Writer.AddSourceLocation(D->getAtLoc(), Record); in VisitObjCPropertyDecl()
681 Writer.AddSourceLocation(D->getLParenLoc(), Record); in VisitObjCPropertyDecl()
682 Writer.AddTypeSourceInfo(D->getTypeSourceInfo(), Record); in VisitObjCPropertyDecl()
688 Writer.AddDeclarationName(D->getGetterName(), Record); in VisitObjCPropertyDecl()
689 Writer.AddDeclarationName(D->getSetterName(), Record); in VisitObjCPropertyDecl()
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()
704 Writer.AddIdentifierRef(D->getIdentifier(), Record); in VisitObjCCategoryImplDecl()
705 Writer.AddSourceLocation(D->getCategoryNameLoc(), Record); in VisitObjCCategoryImplDecl()
711 Writer.AddDeclRef(D->getSuperClass(), Record); in VisitObjCImplementationDecl()
712 Writer.AddSourceLocation(D->getSuperClassLoc(), Record); in VisitObjCImplementationDecl()
713 Writer.AddSourceLocation(D->getIvarLBraceLoc(), Record); in VisitObjCImplementationDecl()
714 Writer.AddSourceLocation(D->getIvarRBraceLoc(), Record); in VisitObjCImplementationDecl()
719 Writer.AddCXXCtorInitializersRef( in VisitObjCImplementationDecl()
726 Writer.AddSourceLocation(D->getLocStart(), Record); in VisitObjCPropertyImplDecl()
727 Writer.AddDeclRef(D->getPropertyDecl(), Record); in VisitObjCPropertyImplDecl()
728 Writer.AddDeclRef(D->getPropertyIvarDecl(), Record); in VisitObjCPropertyImplDecl()
729 Writer.AddSourceLocation(D->getPropertyIvarDeclLoc(), Record); in VisitObjCPropertyImplDecl()
730 Writer.AddStmt(D->getGetterCXXConstructor()); in VisitObjCPropertyImplDecl()
731 Writer.AddStmt(D->getSetterCXXAssignment()); in VisitObjCPropertyImplDecl()
743 Writer.AddTypeRef( in VisitFieldDecl()
748 Writer.AddStmt(static_cast<Expr *>(D->InitStorage.getPointer())); in VisitFieldDecl()
751 Writer.AddDeclRef(Context.getInstantiatedFromUnnamedFieldDecl(D), Record); in VisitFieldDecl()
766 AbbrevToUse = Writer.getDeclFieldAbbrev(); in VisitFieldDecl()
773 Writer.AddIdentifierRef(D->getGetterId(), Record); in VisitMSPropertyDecl()
774 Writer.AddIdentifierRef(D->getSetterId(), Record); in VisitMSPropertyDecl()
783 Writer.AddDeclRef(P, Record); in VisitIndirectFieldDecl()
804 Writer.AddStmt(D->getInit()); in VisitVarDecl()
814 Writer.AddDeclRef(TemplD, Record); in VisitVarDecl()
818 Writer.AddDeclRef(SpecInfo->getInstantiatedFrom(), Record); in VisitVarDecl()
820 Writer.AddSourceLocation(SpecInfo->getPointOfInstantiation(), Record); in VisitVarDecl()
845 AbbrevToUse = Writer.getDeclVarAbbrev(); in VisitVarDecl()
865 Writer.AddStmt(D->getUninstantiatedDefaultArg()); in VisitParmVarDecl()
889 AbbrevToUse = Writer.getDeclParmVarAbbrev(); in VisitParmVarDecl()
903 Writer.AddStmt(D->getAsmString()); in VisitFileScopeAsmDecl()
904 Writer.AddSourceLocation(D->getRParenLoc(), Record); in VisitFileScopeAsmDecl()
915 Writer.AddStmt(D->getBody()); in VisitBlockDecl()
916 Writer.AddTypeSourceInfo(D->getSignatureAsWritten(), Record); in VisitBlockDecl()
920 Writer.AddDeclRef(*P, Record); in VisitBlockDecl()
927 Writer.AddDeclRef(capture.getVariable(), Record); in VisitBlockDecl()
935 if (capture.hasCopyExpr()) Writer.AddStmt(capture.getCopyExpr()); in VisitBlockDecl()
948 Writer.AddDeclRef(CD->getParam(I), Record); in VisitCapturedDecl()
955 Writer.AddSourceLocation(D->getExternLoc(), Record); in VisitLinkageSpecDecl()
956 Writer.AddSourceLocation(D->getRBraceLoc(), Record); in VisitLinkageSpecDecl()
962 Writer.AddSourceLocation(D->getLocStart(), Record); in VisitLabelDecl()
971 Writer.AddSourceLocation(D->getLocStart(), Record); in VisitNamespaceDecl()
972 Writer.AddSourceLocation(D->getRBraceLoc(), Record); in VisitNamespaceDecl()
975 Writer.AddDeclRef(D->getAnonymousNamespace(), Record); in VisitNamespaceDecl()
978 if (Writer.hasChain() && !D->isOriginalNamespace() && in VisitNamespaceDecl()
981 Writer.UpdatedDeclContexts.insert(NS); in VisitNamespaceDecl()
1008 Writer.GetDeclRef(ND); in VisitNamespaceDecl()
1012 if (Writer.hasChain() && D->isAnonymousNamespace() && in VisitNamespaceDecl()
1021 Writer.DeclUpdates[Parent].push_back( in VisitNamespaceDecl()
1030 Writer.AddSourceLocation(D->getNamespaceLoc(), Record); in VisitNamespaceAliasDecl()
1031 Writer.AddSourceLocation(D->getTargetNameLoc(), Record); in VisitNamespaceAliasDecl()
1032 Writer.AddNestedNameSpecifierLoc(D->getQualifierLoc(), Record); in VisitNamespaceAliasDecl()
1033 Writer.AddDeclRef(D->getNamespace(), Record); in VisitNamespaceAliasDecl()
1039 Writer.AddSourceLocation(D->getUsingLoc(), Record); in VisitUsingDecl()
1040 Writer.AddNestedNameSpecifierLoc(D->getQualifierLoc(), Record); in VisitUsingDecl()
1041 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitUsingDecl()
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()
1059 Writer.AddSourceLocation(D->getUsingLoc(), Record); in VisitUsingDirectiveDecl()
1060 Writer.AddSourceLocation(D->getNamespaceKeyLocation(), Record); in VisitUsingDirectiveDecl()
1061 Writer.AddNestedNameSpecifierLoc(D->getQualifierLoc(), Record); in VisitUsingDirectiveDecl()
1062 Writer.AddDeclRef(D->getNominatedNamespace(), Record); in VisitUsingDirectiveDecl()
1063 Writer.AddDeclRef(dyn_cast<Decl>(D->getCommonAncestor()), Record); in VisitUsingDirectiveDecl()
1069 Writer.AddSourceLocation(D->getUsingLoc(), Record); in VisitUnresolvedUsingValueDecl()
1070 Writer.AddNestedNameSpecifierLoc(D->getQualifierLoc(), Record); in VisitUnresolvedUsingValueDecl()
1071 Writer.AddDeclarationNameLoc(D->DNLoc, D->getDeclName(), Record); in VisitUnresolvedUsingValueDecl()
1078 Writer.AddSourceLocation(D->getTypenameLoc(), Record); in VisitUnresolvedUsingTypenameDecl()
1079 Writer.AddNestedNameSpecifierLoc(D->getQualifierLoc(), Record); in VisitUnresolvedUsingTypenameDecl()
1091 Writer.AddDeclRef(TemplD, Record); in VisitCXXRecordDecl()
1095 Writer.AddDeclRef(MSInfo->getInstantiatedFrom(), Record); in VisitCXXRecordDecl()
1097 Writer.AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in VisitCXXRecordDecl()
1104 Writer.AddCXXDefinitionData(D, Record); in VisitCXXRecordDecl()
1109 Writer.AddDeclRef(Context.getCurrentKeyFunction(D), Record); in VisitCXXRecordDecl()
1121 Writer.AddDeclRef(*I, Record); in VisitCXXMethodDecl()
1135 AbbrevToUse = Writer.getDeclCXXMethodAbbrev(); in VisitCXXMethodDecl()
1143 Writer.AddDeclRef(D->getInheritedConstructor(), Record); in VisitCXXConstructorDecl()
1152 Writer.AddDeclRef(D->getOperatorDelete(), Record); in VisitCXXDestructorDecl()
1165 Record.push_back(Writer.getSubmoduleID(D->getImportedModule())); in VisitImportDecl()
1169 Writer.AddSourceLocation(D->getLocEnd(), Record); in VisitImportDecl()
1173 Writer.AddSourceLocation(IdentifierLocs[I], Record); in VisitImportDecl()
1183 Writer.AddSourceLocation(D->getColonLoc(), Record); in VisitAccessSpecDecl()
1195 Writer.AddDeclRef(D->getFriendDecl(), Record); in VisitFriendDecl()
1197 Writer.AddTypeSourceInfo(D->getFriendType(), Record); in VisitFriendDecl()
1199 Writer.AddTemplateParameterList(D->getFriendTypeTemplateParameterList(i), in VisitFriendDecl()
1201 Writer.AddDeclRef(D->getNextFriend(), Record); in VisitFriendDecl()
1203 Writer.AddSourceLocation(D->FriendLoc, Record); in VisitFriendDecl()
1211 Writer.AddTemplateParameterList(D->getTemplateParameterList(i), Record); in VisitFriendTemplateDecl()
1214 Writer.AddDeclRef(D->getFriendDecl(), Record); in VisitFriendTemplateDecl()
1216 Writer.AddTypeSourceInfo(D->getFriendType(), Record); in VisitFriendTemplateDecl()
1217 Writer.AddSourceLocation(D->getFriendLoc(), Record); in VisitFriendTemplateDecl()
1224 Writer.AddDeclRef(D->getTemplatedDecl(), Record); in VisitTemplateDecl()
1225 Writer.AddTemplateParameterList(D->getTemplateParameters(), 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()
1264 Writer.AddTemplateArgumentList(&D->getTemplateInstantiationArgs(), Record); in VisitClassTemplateSpecializationDecl()
1267 Writer.AddTemplateArgumentList(&D->getTemplateArgs(), Record); in VisitClassTemplateSpecializationDecl()
1268 Writer.AddSourceLocation(D->getPointOfInstantiation(), Record); in VisitClassTemplateSpecializationDecl()
1274 Writer.AddDeclRef(D->getSpecializedTemplate()->getCanonicalDecl(), Record); in VisitClassTemplateSpecializationDecl()
1278 Writer.AddTypeSourceInfo(D->getTypeAsWritten(), Record); in VisitClassTemplateSpecializationDecl()
1280 Writer.AddSourceLocation(D->getExternLoc(), Record); in VisitClassTemplateSpecializationDecl()
1281 Writer.AddSourceLocation(D->getTemplateKeywordLoc(), Record); in VisitClassTemplateSpecializationDecl()
1291 Writer.AddTemplateParameterList(D->getTemplateParameters(), Record); in VisitClassTemplatePartialSpecializationDecl()
1292 Writer.AddASTTemplateArgumentListInfo(D->getTemplateArgsAsWritten(), Record); in VisitClassTemplatePartialSpecializationDecl()
1296 Writer.AddDeclRef(D->getInstantiatedFromMember(), Record); in VisitClassTemplatePartialSpecializationDecl()
1318 Writer.AddDeclRef(InstFromD, Record); in VisitVarTemplateSpecializationDecl()
1320 Writer.AddDeclRef(InstFrom.get<VarTemplatePartialSpecializationDecl *>(), in VisitVarTemplateSpecializationDecl()
1322 Writer.AddTemplateArgumentList(&D->getTemplateInstantiationArgs(), Record); in VisitVarTemplateSpecializationDecl()
1326 Writer.AddTypeSourceInfo(D->getTypeAsWritten(), Record); in VisitVarTemplateSpecializationDecl()
1328 Writer.AddSourceLocation(D->getExternLoc(), Record); in VisitVarTemplateSpecializationDecl()
1329 Writer.AddSourceLocation(D->getTemplateKeywordLoc(), Record); in VisitVarTemplateSpecializationDecl()
1332 Writer.AddTemplateArgumentList(&D->getTemplateArgs(), Record); in VisitVarTemplateSpecializationDecl()
1333 Writer.AddSourceLocation(D->getPointOfInstantiation(), Record); in VisitVarTemplateSpecializationDecl()
1339 Writer.AddDeclRef(D->getSpecializedTemplate()->getCanonicalDecl(), Record); in VisitVarTemplateSpecializationDecl()
1349 Writer.AddTemplateParameterList(D->getTemplateParameters(), Record); in VisitVarTemplatePartialSpecializationDecl()
1350 Writer.AddASTTemplateArgumentListInfo(D->getTemplateArgsAsWritten(), Record); in VisitVarTemplatePartialSpecializationDecl()
1354 Writer.AddDeclRef(D->getInstantiatedFromMember(), Record); in VisitVarTemplatePartialSpecializationDecl()
1364 Writer.AddDeclRef(D->getSpecialization(), Record); in VisitClassScopeFunctionSpecializationDecl()
1382 Writer.AddTypeSourceInfo(D->getDefaultArgumentInfo(), Record); in VisitTemplateTypeParmDecl()
1401 Writer.AddTypeRef(D->getExpansionType(I), Record); in VisitNonTypeTemplateParmDecl()
1402 Writer.AddTypeSourceInfo(D->getExpansionTypeSourceInfo(I), Record); in VisitNonTypeTemplateParmDecl()
1411 Writer.AddStmt(D->getDefaultArgument()); in VisitNonTypeTemplateParmDecl()
1433 Writer.AddTemplateParameterList(D->getExpansionTemplateParameters(I), in VisitTemplateTemplateParmDecl()
1438 Writer.AddTemplateArgumentLoc(D->getDefaultArgument(), Record); in VisitTemplateTemplateParmDecl()
1452 Writer.AddStmt(D->getAssertExpr()); in VisitStaticAssertDecl()
1454 Writer.AddStmt(D->getMessage()); in VisitStaticAssertDecl()
1455 Writer.AddSourceLocation(D->getRParenLoc(), Record); in VisitStaticAssertDecl()
1486 Writer.AddDeclRef(First, Record); in VisitRedeclarable()
1487 Writer.Redeclarations.insert(First); in VisitRedeclarable()
1498 if (Context.getLangOpts().Modules && Writer.Chain) { in VisitRedeclarable()
1510 FirstInModule[Writer.Chain->getOwningModuleFile(Redecl)] = Redecl; in VisitRedeclarable()
1516 Writer.AddDeclRef(I->second, Record); in VisitRedeclarable()
1526 (void)Writer.GetDeclRef(Previous); in VisitRedeclarable()
1527 (void)Writer.GetDeclRef(MostRecent); in VisitRedeclarable()
1538 Writer.AddStmt(I); in VisitOMPThreadPrivateDecl()