Home | History | Annotate | Download | only in Serialization

Lines Matching defs:FD

254     void VisitFunctionDecl(FunctionDecl *FD);
259 void VisitFieldDecl(FieldDecl *FD);
260 void VisitMSPropertyDecl(MSPropertyDecl *FD);
261 void VisitIndirectFieldDecl(IndirectFieldDecl *FD);
338 } else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
340 // We only read it if FD doesn't already have a body (e.g., from another
345 Reader.PendingBodies[FD] = GetCurrentCursorOffset();
523 void ASTDeclReader::VisitFunctionDecl(FunctionDecl *FD) {
524 RedeclarableResult Redecl = VisitRedeclarable(FD);
525 VisitDeclaratorDecl(FD);
527 ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName(), Record, Idx);
528 FD->IdentifierNamespace = Record[Idx++];
533 FD->SClass = (StorageClass)Record[Idx++];
534 FD->IsInline = Record[Idx++];
535 FD->IsInlineSpecified = Record[Idx++];
536 FD->IsVirtualAsWritten = Record[Idx++];
537 FD->IsPure = Record[Idx++];
538 FD->HasInheritedPrototype = Record[Idx++];
539 FD->HasWrittenPrototype = Record[Idx++];
540 FD->IsDeleted = Record[Idx++];
541 FD->IsTrivial = Record[Idx++];
542 FD->IsDefaulted = Record[Idx++];
543 FD->IsExplicitlyDefaulted = Record[Idx++];
544 FD->HasImplicitReturnZero = Record[Idx++];
545 FD->IsConstexpr = Record[Idx++];
546 FD->HasSkippedBody = Record[Idx++];
547 FD->setCachedLinkage(Linkage(Record[Idx++]));
548 FD->EndRangeLoc = ReadSourceLocation(Record, Idx);
552 mergeRedeclarable(FD, Redecl);
555 FD->setDescribedFunctionTemplate(ReadDeclAs<FunctionTemplateDecl>(Record,
562 FD->setInstantiationOfMemberFunction(Reader.getContext(), InstFD, TSK);
563 FD->getMemberSpecializationInfo()->setPointOfInstantiation(POI);
599 = FunctionTemplateSpecializationInfo::Create(C, FD, Template, TSK,
603 FD->TemplateOrSpecialization = FTInfo;
605 if (FD->isCanonicalDecl()) { // if canonical add to template's set.
647 FD->setDependentTemplateSpecialization(Reader.getContext(),
659 FD->setParams(Reader.getContext(), Params);
811 void ASTDeclReader::VisitObjCAtDefsFieldDecl(ObjCAtDefsFieldDecl *FD) {
812 VisitFieldDecl(FD);
899 void ASTDeclReader::VisitFieldDecl(FieldDecl *FD) {
900 VisitDeclaratorDecl(FD);
901 FD->Mutable = Record[Idx++];
903 FD->InitializerOrBitWidth.setInt(BitWidthOrInitializer - 1);
904 FD->InitializerOrBitWidth.setPointer(Reader.ReadExpr(F));
906 if (!FD->getDeclName()) {
908 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl);
918 void ASTDeclReader::VisitIndirectFieldDecl(IndirectFieldDecl *FD) {
919 VisitValueDecl(FD);
921 FD->ChainingSize = Record[Idx++];
922 assert(FD->ChainingSize >= 2 && "Anonymous chaining must be >= 2");
923 FD->Chaining = new (Reader.getContext())NamedDecl*[FD->ChainingSize];
925 for (unsigned I = 0; I != FD->ChainingSize; ++I)
926 FD->Chaining[I] = ReadDeclAs<NamedDecl>(Record, Idx);
2116 } else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
2117 FD->RedeclLink.setNext(cast<FunctionDecl>(previous));
2150 } else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
2151 FD->RedeclLink
2830 FunctionDecl *FD = cast<FunctionDecl>(D);
2832 FD, Reader.readType(ModuleFile, Record, Idx));