reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Serialization/ASTWriterDecl.cpp
   52       return Record.Emit(Code, AbbrevToUse);
  158         Record.push_back(0);
  162       Record.push_back(typeParams->size());
  164         Record.AddDeclRef(typeParam);
  166       Record.AddSourceLocation(typeParams->getLAngleLoc());
  167       Record.AddSourceLocation(typeParams->getRAngleLoc());
  183         Record.AddDeclRef(F.second);
  220       unsigned I = Record.size();
  221       Record.push_back(0);
  235       Record.append(LazySpecializations.begin(), LazySpecializations.end());
  238       Record[I] = Record.size() - I - 1;
  238       Record[I] = Record.size() - I - 1;
  273       Record.AddTypeLoc(TInfo->getTypeLoc());
  280     Record.push_back(FD->doesThisDeclarationHaveABody());
  282       Record.AddFunctionDefinition(FD);
  293   Record.AddDeclRef(cast_or_null<Decl>(D->getDeclContext()));
  295     Record.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext()));
  297     Record.push_back(0);
  298   Record.push_back(D->isInvalidDecl());
  299   Record.push_back(D->hasAttrs());
  301     Record.AddAttributes(D->getAttrs());
  302   Record.push_back(D->isImplicit());
  303   Record.push_back(D->isUsed(false));
  304   Record.push_back(D->isReferenced());
  305   Record.push_back(D->isTopLevelDeclInObjCContainer());
  306   Record.push_back(D->getAccess());
  307   Record.push_back(D->isModulePrivate());
  308   Record.push_back(Writer.getSubmoduleID(D->getOwningModule()));
  333   Record.push_back(Arg.size());
  335   Record.AddSourceLocation(D->getBeginLoc());
  336   Record.push_back(D->getCommentKind());
  337   Record.AddString(Arg);
  345   Record.push_back(Name.size() + 1 + Value.size());
  347   Record.AddSourceLocation(D->getBeginLoc());
  348   Record.AddString(Name);
  349   Record.AddString(Value);
  359   Record.AddDeclarationName(D->getDeclName());
  360   Record.push_back(needsAnonymousDeclarationNumber(D)
  367   Record.AddSourceLocation(D->getBeginLoc());
  368   Record.AddTypeRef(QualType(D->getTypeForDecl(), 0));
  374   Record.AddTypeSourceInfo(D->getTypeSourceInfo());
  375   Record.push_back(D->isModed());
  377     Record.AddTypeRef(D->getUnderlyingType());
  378   Record.AddDeclRef(D->getAnonDeclWithTypedefName(false));
  399   Record.AddDeclRef(D->getDescribedAliasTemplate());
  406   Record.push_back(D->getIdentifierNamespace());
  407   Record.push_back((unsigned)D->getTagKind()); // FIXME: stable encoding
  409     Record.push_back(D->isCompleteDefinition());
  410   Record.push_back(D->isEmbeddedInDeclarator());
  411   Record.push_back(D->isFreeStanding());
  412   Record.push_back(D->isCompleteDefinitionRequired());
  413   Record.AddSourceRange(D->getBraceRange());
  416     Record.push_back(1);
  417     Record.AddQualifierInfo(*D->getExtInfo());
  419     Record.push_back(2);
  420     Record.AddDeclRef(TD);
  421     Record.AddIdentifierRef(TD->getDeclName().getAsIdentifierInfo());
  423     Record.push_back(0);
  429   Record.AddTypeSourceInfo(D->getIntegerTypeSourceInfo());
  431     Record.AddTypeRef(D->getIntegerType());
  432   Record.AddTypeRef(D->getPromotionType());
  433   Record.push_back(D->getNumPositiveBits());
  434   Record.push_back(D->getNumNegativeBits());
  435   Record.push_back(D->isScoped());
  436   Record.push_back(D->isScopedUsingClassTag());
  437   Record.push_back(D->isFixed());
  438   Record.push_back(D->getODRHash());
  441     Record.AddDeclRef(MemberInfo->getInstantiatedFrom());
  442     Record.push_back(MemberInfo->getTemplateSpecializationKind());
  443     Record.AddSourceLocation(MemberInfo->getPointOfInstantiation());
  445     Record.AddDeclRef(nullptr);
  472   Record.push_back(D->hasFlexibleArrayMember());
  473   Record.push_back(D->isAnonymousStructOrUnion());
  474   Record.push_back(D->hasObjectMember());
  475   Record.push_back(D->hasVolatileMember());
  476   Record.push_back(D->isNonTrivialToPrimitiveDefaultInitialize());
  477   Record.push_back(D->isNonTrivialToPrimitiveCopy());
  478   Record.push_back(D->isNonTrivialToPrimitiveDestroy());
  479   Record.push_back(D->hasNonTrivialToPrimitiveDefaultInitializeCUnion());
  480   Record.push_back(D->hasNonTrivialToPrimitiveDestructCUnion());
  481   Record.push_back(D->hasNonTrivialToPrimitiveCopyCUnion());
  482   Record.push_back(D->isParamDestroyedInCallee());
  483   Record.push_back(D->getArgPassingRestrictions());
  507   Record.AddTypeRef(D->getType());
  512   Record.push_back(D->getInitExpr()? 1 : 0);
  514     Record.AddStmt(D->getInitExpr());
  515   Record.AddAPSInt(D->getInitVal());
  522   Record.AddSourceLocation(D->getInnerLocStart());
  523   Record.push_back(D->hasExtInfo());
  525     Record.AddQualifierInfo(*D->getExtInfo());
  527   Record.AddTypeRef(D->getTypeSourceInfo() ? D->getTypeSourceInfo()->getType()
  534   Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName());
  535   Record.push_back(D->getIdentifierNamespace());
  539   Record.push_back(static_cast<int>(D->getStorageClass())); // FIXME: stable encoding
  540   Record.push_back(D->isInlineSpecified());
  541   Record.push_back(D->isInlined());
  542   Record.push_back(D->isVirtualAsWritten());
  543   Record.push_back(D->isPure());
  544   Record.push_back(D->hasInheritedPrototype());
  545   Record.push_back(D->hasWrittenPrototype());
  546   Record.push_back(D->isDeletedBit());
  547   Record.push_back(D->isTrivial());
  548   Record.push_back(D->isTrivialForCall());
  549   Record.push_back(D->isDefaulted());
  550   Record.push_back(D->isExplicitlyDefaulted());
  551   Record.push_back(D->hasImplicitReturnZero());
  552   Record.push_back(D->getConstexprKind());
  553   Record.push_back(D->usesSEHTry());
  554   Record.push_back(D->hasSkippedBody());
  555   Record.push_back(D->isMultiVersion());
  556   Record.push_back(D->isLateTemplateParsed());
  557   Record.push_back(D->getLinkageInternal());
  558   Record.AddSourceLocation(D->getEndLoc());
  560   Record.push_back(D->getODRHash());
  562   Record.push_back(D->getTemplatedKind());
  567     Record.AddDeclRef(D->getDescribedFunctionTemplate());
  571     Record.AddDeclRef(MemberInfo->getInstantiatedFrom());
  572     Record.push_back(MemberInfo->getTemplateSpecializationKind());
  573     Record.AddSourceLocation(MemberInfo->getPointOfInstantiation());
  582     Record.AddDeclRef(FTSInfo->getTemplate());
  583     Record.push_back(FTSInfo->getTemplateSpecializationKind());
  586     Record.AddTemplateArgumentList(FTSInfo->TemplateArguments);
  589     Record.push_back(FTSInfo->TemplateArgumentsAsWritten != nullptr);
  591       Record.push_back(FTSInfo->TemplateArgumentsAsWritten->NumTemplateArgs);
  594         Record.AddTemplateArgumentLoc(
  596       Record.AddSourceLocation(FTSInfo->TemplateArgumentsAsWritten->LAngleLoc);
  597       Record.AddSourceLocation(FTSInfo->TemplateArgumentsAsWritten->RAngleLoc);
  600     Record.AddSourceLocation(FTSInfo->getPointOfInstantiation());
  604       Record.push_back(1);
  605       Record.AddDeclRef(MemberInfo->getInstantiatedFrom());
  606       Record.push_back(MemberInfo->getTemplateSpecializationKind());
  607       Record.AddSourceLocation(MemberInfo->getPointOfInstantiation());
  609       Record.push_back(0);
  615       Record.AddDeclRef(FTSInfo->getTemplate()->getCanonicalDecl());
  624     Record.push_back(DFTSInfo->getNumTemplates());
  626       Record.AddDeclRef(DFTSInfo->getTemplate(i));
  629     Record.push_back(DFTSInfo->getNumTemplateArgs());
  631       Record.AddTemplateArgumentLoc(DFTSInfo->getTemplateArg(i));
  632     Record.AddSourceLocation(DFTSInfo->getLAngleLoc());
  633     Record.AddSourceLocation(DFTSInfo->getRAngleLoc());
  638   Record.push_back(D->param_size());
  640     Record.AddDeclRef(P);
  655   addExplicitSpecifier(D->getExplicitSpecifier(), Record);
  657   Record.push_back(D->isCopyDeductionCandidate());
  667   Record.push_back(HasBodyStuff);
  669     Record.AddStmt(D->getBody());
  670     Record.AddDeclRef(D->getSelfDecl());
  671     Record.AddDeclRef(D->getCmdDecl());
  673   Record.push_back(D->isInstanceMethod());
  674   Record.push_back(D->isVariadic());
  675   Record.push_back(D->isPropertyAccessor());
  676   Record.push_back(D->isDefined());
  677   Record.push_back(D->isOverriding());
  678   Record.push_back(D->hasSkippedBody());
  680   Record.push_back(D->isRedeclaration());
  681   Record.push_back(D->hasRedeclaration());
  684     Record.AddDeclRef(Context.getObjCMethodRedeclaration(D));
  688   Record.push_back(D->getImplementationControl());
  690   Record.push_back(D->getObjCDeclQualifier());
  691   Record.push_back(D->hasRelatedResultType());
  692   Record.AddTypeRef(D->getReturnType());
  693   Record.AddTypeSourceInfo(D->getReturnTypeSourceInfo());
  694   Record.AddSourceLocation(D->getEndLoc());
  695   Record.push_back(D->param_size());
  697     Record.AddDeclRef(P);
  699   Record.push_back(D->getSelLocsKind());
  702   Record.push_back(NumStoredSelLocs);
  704     Record.AddSourceLocation(SelLocs[i]);
  711   Record.push_back(D->Variance);
  712   Record.push_back(D->Index);
  713   Record.AddSourceLocation(D->VarianceLoc);
  714   Record.AddSourceLocation(D->ColonLoc);
  721   Record.AddSourceLocation(D->getAtStartLoc());
  722   Record.AddSourceRange(D->getAtEndRange());
  729   Record.AddTypeRef(QualType(D->getTypeForDecl(), 0));
  732   Record.push_back(D->isThisDeclarationADefinition());
  737     Record.AddTypeSourceInfo(D->getSuperClassTInfo());
  738     Record.AddSourceLocation(D->getEndOfDefinitionLoc());
  739     Record.push_back(Data.HasDesignatedInitializers);
  742     Record.push_back(Data.ReferencedProtocols.size());
  744       Record.AddDeclRef(P);
  746       Record.AddSourceLocation(PL);
  749     Record.push_back(Data.AllReferencedProtocols.size());
  754       Record.AddDeclRef(*P);
  773   Record.push_back(D->getAccessControl());
  774   Record.push_back(D->getSynthesize());
  795   Record.push_back(D->isThisDeclarationADefinition());
  797     Record.push_back(D->protocol_size());
  799       Record.AddDeclRef(I);
  801       Record.AddSourceLocation(PL);
  814   Record.AddSourceLocation(D->getCategoryNameLoc());
  815   Record.AddSourceLocation(D->getIvarLBraceLoc());
  816   Record.AddSourceLocation(D->getIvarRBraceLoc());
  817   Record.AddDeclRef(D->getClassInterface());
  819   Record.push_back(D->protocol_size());
  821     Record.AddDeclRef(I);
  823     Record.AddSourceLocation(PL);
  829   Record.AddDeclRef(D->getClassInterface());
  835   Record.AddSourceLocation(D->getAtLoc());
  836   Record.AddSourceLocation(D->getLParenLoc());
  837   Record.AddTypeRef(D->getType());
  838   Record.AddTypeSourceInfo(D->getTypeSourceInfo());
  840   Record.push_back((unsigned)D->getPropertyAttributes());
  841   Record.push_back((unsigned)D->getPropertyAttributesAsWritten());
  843   Record.push_back((unsigned)D->getPropertyImplementation());
  844   Record.AddDeclarationName(D->getGetterName());
  845   Record.AddSourceLocation(D->getGetterNameLoc());
  846   Record.AddDeclarationName(D->getSetterName());
  847   Record.AddSourceLocation(D->getSetterNameLoc());
  848   Record.AddDeclRef(D->getGetterMethodDecl());
  849   Record.AddDeclRef(D->getSetterMethodDecl());
  850   Record.AddDeclRef(D->getPropertyIvarDecl());
  856   Record.AddDeclRef(D->getClassInterface());
  862   Record.AddSourceLocation(D->getCategoryNameLoc());
  868   Record.AddDeclRef(D->getSuperClass());
  869   Record.AddSourceLocation(D->getSuperClassLoc());
  870   Record.AddSourceLocation(D->getIvarLBraceLoc());
  871   Record.AddSourceLocation(D->getIvarRBraceLoc());
  872   Record.push_back(D->hasNonZeroConstructors());
  873   Record.push_back(D->hasDestructors());
  874   Record.push_back(D->NumIvarInitializers);
  876     Record.AddCXXCtorInitializers(
  883   Record.AddSourceLocation(D->getBeginLoc());
  884   Record.AddDeclRef(D->getPropertyDecl());
  885   Record.AddDeclRef(D->getPropertyIvarDecl());
  886   Record.AddSourceLocation(D->getPropertyIvarDeclLoc());
  887   Record.AddStmt(D->getGetterCXXConstructor());
  888   Record.AddStmt(D->getSetterCXXAssignment());
  894   Record.push_back(D->isMutable());
  897   Record.push_back(ISK);
  899     Record.AddTypeRef(QualType(D->getCapturedVLAType(), 0));
  901     Record.AddStmt(D->getInClassInitializer());
  903   Record.AddStmt(D->getBitWidth());
  906     Record.AddDeclRef(Context.getInstantiatedFromUnnamedFieldDecl(D));
  930   Record.AddIdentifierRef(D->getGetterId());
  931   Record.AddIdentifierRef(D->getSetterId());
  937   Record.push_back(D->getChainingSize());
  940     Record.AddDeclRef(P);
  947   Record.push_back(D->getStorageClass());
  948   Record.push_back(D->getTSCSpec());
  949   Record.push_back(D->getInitStyle());
  950   Record.push_back(D->isARCPseudoStrong());
  952     Record.push_back(D->isThisDeclarationADemotedDefinition());
  953     Record.push_back(D->isExceptionVariable());
  954     Record.push_back(D->isNRVOVariable());
  955     Record.push_back(D->isCXXForRangeDecl());
  956     Record.push_back(D->isObjCForDecl());
  957     Record.push_back(D->isInline());
  958     Record.push_back(D->isInlineSpecified());
  959     Record.push_back(D->isConstexpr());
  960     Record.push_back(D->isInitCapture());
  961     Record.push_back(D->isPreviousDeclInSameBlockScope());
  963       Record.push_back(static_cast<unsigned>(IPD->getParameterKind()));
  965       Record.push_back(0);
  966     Record.push_back(D->isEscapingByref());
  968   Record.push_back(D->getLinkageInternal());
  972       Record.push_back(1);
  974       Record.push_back(
  979     Record.AddStmt(D->getInit());
  981     Record.push_back(0);
  986     Record.AddStmt(Init.getCopyExpr());
  988       Record.push_back(Init.canThrow());
 1004     Record.push_back(ModulesCodegen);
 1013     Record.push_back(VarTemplate);
 1014     Record.AddDeclRef(TemplD);
 1017     Record.push_back(StaticDataMemberSpecialization);
 1018     Record.AddDeclRef(SpecInfo->getInstantiatedFrom());
 1019     Record.push_back(SpecInfo->getTemplateSpecializationKind());
 1020     Record.AddSourceLocation(SpecInfo->getPointOfInstantiation());
 1022     Record.push_back(VarNotTemplate);
 1059   Record.push_back(D->isObjCMethodParameter());
 1060   Record.push_back(D->getFunctionScopeDepth());
 1061   Record.push_back(D->getFunctionScopeIndex());
 1062   Record.push_back(D->getObjCDeclQualifier()); // FIXME: stable encoding
 1063   Record.push_back(D->isKNRPromoted());
 1064   Record.push_back(D->hasInheritedDefaultArg());
 1065   Record.push_back(D->hasUninstantiatedDefaultArg());
 1067     Record.AddStmt(D->getUninstantiatedDefaultArg());
 1108   Record.push_back(D->bindings().size());
 1112     Record.AddDeclRef(B);
 1118   Record.AddStmt(D->getBinding());
 1124   Record.AddStmt(D->getAsmString());
 1125   Record.AddSourceLocation(D->getRParenLoc());
 1136   Record.AddStmt(D->getBody());
 1137   Record.AddTypeSourceInfo(D->getSignatureAsWritten());
 1138   Record.push_back(D->param_size());
 1140     Record.AddDeclRef(P);
 1141   Record.push_back(D->isVariadic());
 1142   Record.push_back(D->blockMissingReturnType());
 1143   Record.push_back(D->isConversionFromLambda());
 1144   Record.push_back(D->doesNotEscape());
 1145   Record.push_back(D->canAvoidCopyToHeap());
 1146   Record.push_back(D->capturesCXXThis());
 1147   Record.push_back(D->getNumCaptures());
 1149     Record.AddDeclRef(capture.getVariable());
 1155     Record.push_back(flags);
 1157     if (capture.hasCopyExpr()) Record.AddStmt(capture.getCopyExpr());
 1164   Record.push_back(CD->getNumParams());
 1166   Record.push_back(CD->getContextParamPosition());
 1167   Record.push_back(CD->isNothrow() ? 1 : 0);
 1170     Record.AddDeclRef(CD->getParam(I));
 1176   Record.push_back(D->getLanguage());
 1177   Record.AddSourceLocation(D->getExternLoc());
 1178   Record.AddSourceLocation(D->getRBraceLoc());
 1184   Record.AddSourceLocation(D->getRBraceLoc());
 1190   Record.AddSourceLocation(D->getBeginLoc());
 1198   Record.push_back(D->isInline());
 1199   Record.AddSourceLocation(D->getBeginLoc());
 1200   Record.AddSourceLocation(D->getRBraceLoc());
 1203     Record.AddDeclRef(D->getAnonymousNamespace());
 1224   Record.AddSourceLocation(D->getNamespaceLoc());
 1225   Record.AddSourceLocation(D->getTargetNameLoc());
 1226   Record.AddNestedNameSpecifierLoc(D->getQualifierLoc());
 1227   Record.AddDeclRef(D->getNamespace());
 1233   Record.AddSourceLocation(D->getUsingLoc());
 1234   Record.AddNestedNameSpecifierLoc(D->getQualifierLoc());
 1235   Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName());
 1236   Record.AddDeclRef(D->FirstUsingShadow.getPointer());
 1237   Record.push_back(D->hasTypename());
 1238   Record.AddDeclRef(Context.getInstantiatedFromUsingDecl(D));
 1243   Record.push_back(D->NumExpansions);
 1245   Record.AddDeclRef(D->getInstantiatedFromUsingDecl());
 1247     Record.AddDeclRef(E);
 1254   Record.AddDeclRef(D->getTargetDecl());
 1255   Record.push_back(D->getIdentifierNamespace());
 1256   Record.AddDeclRef(D->UsingOrNextShadow);
 1257   Record.AddDeclRef(Context.getInstantiatedFromUsingShadowDecl(D));
 1264   Record.AddDeclRef(D->NominatedBaseClassShadowDecl);
 1265   Record.AddDeclRef(D->ConstructedBaseClassShadowDecl);
 1266   Record.push_back(D->IsVirtual);
 1272   Record.AddSourceLocation(D->getUsingLoc());
 1273   Record.AddSourceLocation(D->getNamespaceKeyLocation());
 1274   Record.AddNestedNameSpecifierLoc(D->getQualifierLoc());
 1275   Record.AddDeclRef(D->getNominatedNamespace());
 1276   Record.AddDeclRef(dyn_cast<Decl>(D->getCommonAncestor()));
 1282   Record.AddSourceLocation(D->getUsingLoc());
 1283   Record.AddNestedNameSpecifierLoc(D->getQualifierLoc());
 1284   Record.AddDeclarationNameLoc(D->DNLoc, D->getDeclName());
 1285   Record.AddSourceLocation(D->getEllipsisLoc());
 1292   Record.AddSourceLocation(D->getTypenameLoc());
 1293   Record.AddNestedNameSpecifierLoc(D->getQualifierLoc());
 1294   Record.AddSourceLocation(D->getEllipsisLoc());
 1305     Record.push_back(CXXRecTemplate);
 1306     Record.AddDeclRef(TemplD);
 1309     Record.push_back(CXXRecMemberSpecialization);
 1310     Record.AddDeclRef(MSInfo->getInstantiatedFrom());
 1311     Record.push_back(MSInfo->getTemplateSpecializationKind());
 1312     Record.AddSourceLocation(MSInfo->getPointOfInstantiation());
 1314     Record.push_back(CXXRecNotTemplate);
 1317   Record.push_back(D->isThisDeclarationADefinition());
 1319     Record.AddCXXDefinitionData(D);
 1324     Record.AddDeclRef(Context.getCurrentKeyFunction(D));
 1332     Record.push_back(D->size_overridden_methods());
 1334       Record.AddDeclRef(MD);
 1337     Record.push_back(0);
 1355   Record.push_back(D->getTraillingAllocKind());
 1356   addExplicitSpecifier(D->getExplicitSpecifier(), Record);
 1358     Record.AddDeclRef(Inherited.getShadowDecl());
 1359     Record.AddDeclRef(Inherited.getConstructor());
 1369   Record.AddDeclRef(D->getOperatorDelete());
 1371     Record.AddStmt(D->getOperatorDeleteThisArg());
 1377   addExplicitSpecifier(D->getExplicitSpecifier(), Record);
 1384   Record.push_back(Writer.getSubmoduleID(D->getImportedModule()));
 1386   Record.push_back(!IdentifierLocs.empty());
 1388     Record.AddSourceLocation(D->getEndLoc());
 1389     Record.push_back(1);
 1392       Record.AddSourceLocation(IdentifierLocs[I]);
 1393     Record.push_back(IdentifierLocs.size());
 1402   Record.AddSourceLocation(D->getColonLoc());
 1409   Record.push_back(D->NumTPLists);
 1412   Record.push_back(hasFriendDecl);
 1414     Record.AddDeclRef(D->getFriendDecl());
 1416     Record.AddTypeSourceInfo(D->getFriendType());
 1418     Record.AddTemplateParameterList(D->getFriendTypeTemplateParameterList(i));
 1419   Record.AddDeclRef(D->getNextFriend());
 1420   Record.push_back(D->UnsupportedFriend);
 1421   Record.AddSourceLocation(D->FriendLoc);
 1427   Record.push_back(D->getNumTemplateParameters());
 1429     Record.AddTemplateParameterList(D->getTemplateParameterList(i));
 1430   Record.push_back(D->getFriendDecl() != nullptr);
 1432     Record.AddDeclRef(D->getFriendDecl());
 1434     Record.AddTypeSourceInfo(D->getFriendType());
 1435   Record.AddSourceLocation(D->getFriendLoc());
 1442   Record.AddDeclRef(D->getTemplatedDecl());
 1443   Record.AddTemplateParameterList(D->getTemplateParameters());
 1448   Record.AddStmt(D->getConstraintExpr());
 1459     Record.AddDeclRef(D->getInstantiatedFromMemberTemplate());
 1461       Record.push_back(D->isMemberSpecialization());
 1465   Record.push_back(D->getIdentifierNamespace());
 1486     Record.AddDeclRef(InstFromD);
 1488     Record.AddDeclRef(InstFrom.get<ClassTemplatePartialSpecializationDecl *>());
 1489     Record.AddTemplateArgumentList(&D->getTemplateInstantiationArgs());
 1492   Record.AddTemplateArgumentList(&D->getTemplateArgs());
 1493   Record.AddSourceLocation(D->getPointOfInstantiation());
 1494   Record.push_back(D->getSpecializationKind());
 1495   Record.push_back(D->isCanonicalDecl());
 1499     Record.AddDeclRef(D->getSpecializedTemplate()->getCanonicalDecl());
 1503   Record.AddTypeSourceInfo(D->getTypeAsWritten());
 1505     Record.AddSourceLocation(D->getExternLoc());
 1506     Record.AddSourceLocation(D->getTemplateKeywordLoc());
 1516   Record.AddTemplateParameterList(D->getTemplateParameters());
 1517   Record.AddASTTemplateArgumentListInfo(D->getTemplateArgsAsWritten());
 1521     Record.AddDeclRef(D->getInstantiatedFromMember());
 1522     Record.push_back(D->isMemberSpecialization());
 1545     Record.AddDeclRef(InstFromD);
 1547     Record.AddDeclRef(InstFrom.get<VarTemplatePartialSpecializationDecl *>());
 1548     Record.AddTemplateArgumentList(&D->getTemplateInstantiationArgs());
 1552   Record.AddTypeSourceInfo(D->getTypeAsWritten());
 1554     Record.AddSourceLocation(D->getExternLoc());
 1555     Record.AddSourceLocation(D->getTemplateKeywordLoc());
 1558   Record.AddTemplateArgumentList(&D->getTemplateArgs());
 1559   Record.AddSourceLocation(D->getPointOfInstantiation());
 1560   Record.push_back(D->getSpecializationKind());
 1561   Record.push_back(D->IsCompleteDefinition);
 1562   Record.push_back(D->isCanonicalDecl());
 1566     Record.AddDeclRef(D->getSpecializedTemplate()->getCanonicalDecl());
 1576   Record.AddTemplateParameterList(D->getTemplateParameters());
 1577   Record.AddASTTemplateArgumentListInfo(D->getTemplateArgsAsWritten());
 1581     Record.AddDeclRef(D->getInstantiatedFromMember());
 1582     Record.push_back(D->isMemberSpecialization());
 1591   Record.AddDeclRef(D->getSpecialization());
 1592   Record.push_back(D->hasExplicitTemplateArgs());
 1594     Record.AddASTTemplateArgumentListInfo(D->getTemplateArgsAsWritten());
 1610   Record.push_back(D->wasDeclaredWithTypename());
 1614   Record.push_back(OwnsDefaultArg);
 1616     Record.AddTypeSourceInfo(D->getDefaultArgumentInfo());
 1626     Record.push_back(D->getNumExpansionTypes());
 1630   Record.push_back(D->getDepth());
 1631   Record.push_back(D->getPosition());
 1635       Record.AddTypeRef(D->getExpansionType(I));
 1636       Record.AddTypeSourceInfo(D->getExpansionTypeSourceInfo(I));
 1643     Record.push_back(D->isParameterPack());
 1646     Record.push_back(OwnsDefaultArg);
 1648       Record.AddStmt(D->getDefaultArgument());
 1658     Record.push_back(D->getNumExpansionTemplateParameters());
 1662   Record.push_back(D->getDepth());
 1663   Record.push_back(D->getPosition());
 1668       Record.AddTemplateParameterList(D->getExpansionTemplateParameters(I));
 1673     Record.push_back(D->isParameterPack());
 1676     Record.push_back(OwnsDefaultArg);
 1678       Record.AddTemplateArgumentLoc(D->getDefaultArgument());
 1690   Record.AddStmt(D->getAssertExpr());
 1691   Record.push_back(D->isFailed());
 1692   Record.AddStmt(D->getMessage());
 1693   Record.AddSourceLocation(D->getRParenLoc());
 1699   Record.AddOffset(Writer.WriteDeclContextLexicalBlock(Context, DC));
 1700   Record.AddOffset(Writer.WriteDeclContextVisibleBlock(Context, DC));
 1729     Record.AddDeclRef(First);
 1738       unsigned I = Record.size();
 1739       Record.push_back(0);
 1743       Record[I] = Record.size() - I;
 1743       Record[I] = Record.size() - I;
 1748       ASTRecordWriter LocalRedeclWriter(Record, LocalRedecls);
 1757         Record.push_back(0);
 1759         Record.AddOffset(LocalRedeclWriter.Emit(LOCAL_REDECLARATIONS));
 1761       Record.push_back(0);
 1762       Record.AddDeclRef(FirstLocal);
 1775     Record.push_back(0);
 1780   Record.push_back(D->varlist_size());
 1783     Record.AddStmt(I);
 1788   Record.push_back(D->varlist_size());
 1789   Record.push_back(D->clauselist_size());
 1792     Record.AddStmt(I);
 1793   OMPClauseWriter ClauseWriter(Record);
 1800   Record.push_back(D->clauselist_size());
 1802   OMPClauseWriter ClauseWriter(Record);
 1810   Record.AddSourceLocation(D->getBeginLoc());
 1811   Record.AddStmt(D->getCombinerIn());
 1812   Record.AddStmt(D->getCombinerOut());
 1813   Record.AddStmt(D->getCombiner());
 1814   Record.AddStmt(D->getInitOrig());
 1815   Record.AddStmt(D->getInitPriv());
 1816   Record.AddStmt(D->getInitializer());
 1817   Record.push_back(D->getInitializerKind());
 1818   Record.AddDeclRef(D->getPrevDeclInScope());
 1823   Record.push_back(D->clauselist_size());
 1825   Record.AddSourceLocation(D->getBeginLoc());
 1826   Record.AddStmt(D->getMapperVarRef());
 1827   Record.AddDeclarationName(D->getVarName());
 1828   Record.AddDeclRef(D->getPrevDeclInScope());
 1829   OMPClauseWriter ClauseWriter(Record);