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

References

tools/clang/lib/Serialization/ASTReaderDecl.cpp
  839   RedeclarableResult Redecl = VisitRedeclarable(FD);
  840   VisitDeclaratorDecl(FD);
  844   if (FD->getTypeSourceInfo() &&
  845       FD->getTypeSourceInfo()->getType()->castAs<FunctionType>()
  849     FD->setType(FD->getTypeSourceInfo()->getType());
  849     FD->setType(FD->getTypeSourceInfo()->getType());
  850     Reader.PendingFunctionTypes.push_back({FD, DeferredTypeID});
  852     FD->setType(Reader.GetType(DeferredTypeID));
  856   ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName());
  856   ReadDeclarationNameLoc(FD->DNLoc, FD->getDeclName());
  857   FD->IdentifierNamespace = Record.readInt();
  862   FD->setStorageClass(static_cast<StorageClass>(Record.readInt()));
  863   FD->setInlineSpecified(Record.readInt());
  864   FD->setImplicitlyInline(Record.readInt());
  865   FD->setVirtualAsWritten(Record.readInt());
  866   FD->setPure(Record.readInt());
  867   FD->setHasInheritedPrototype(Record.readInt());
  868   FD->setHasWrittenPrototype(Record.readInt());
  869   FD->setDeletedAsWritten(Record.readInt());
  870   FD->setTrivial(Record.readInt());
  871   FD->setTrivialForCall(Record.readInt());
  872   FD->setDefaulted(Record.readInt());
  873   FD->setExplicitlyDefaulted(Record.readInt());
  874   FD->setHasImplicitReturnZero(Record.readInt());
  875   FD->setConstexprKind(static_cast<ConstexprSpecKind>(Record.readInt()));
  876   FD->setUsesSEHTry(Record.readInt());
  877   FD->setHasSkippedBody(Record.readInt());
  878   FD->setIsMultiVersion(Record.readInt());
  879   FD->setLateTemplateParsed(Record.readInt());
  881   FD->setCachedLinkage(static_cast<Linkage>(Record.readInt()));
  882   FD->EndRangeLoc = ReadSourceLocation();
  884   FD->ODRHash = Record.readInt();
  885   FD->setHasODRHash(true);
  889     mergeRedeclarable(FD, Redecl);
  893     FD->setDescribedFunctionTemplate(ReadDeclAs<FunctionTemplateDecl>());
  899     FD->setInstantiationOfMemberFunction(Reader.getContext(), InstFD, TSK);
  900     FD->getMemberSpecializationInfo()->setPointOfInstantiation(POI);
  901     mergeRedeclarable(FD, Redecl);
  947             C, FD, Template, TSK, TemplArgList,
  950     FD->TemplateOrSpecialization = FTInfo;
  952     if (FD->isCanonicalDecl()) { // if canonical add to template's set.
  972         mergeRedeclarable(FD, ExistingInfo->getFunction(), Redecl);
  992     FD->setDependentTemplateSpecialization(Reader.getContext(),
 1006   FD->setParams(Reader.getContext(), Params);