Home | History | Annotate | Download | only in Serialization

Lines Matching refs:decl

2791       Decl *D = Names[I].getDecl();
3319 assert(CUDASpecialDeclRefs.size() == 1 && "More decl refs than expected!");
4703 TypedefNameDecl *Decl = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx);
4707 return Context.getTypedefType(Decl, Canonical);
5357 Decl *ASTReader::GetExternalDecl(uint32_t ID) {
5400 assert(I != F.DeclRemap.end() && "Invalid index into decl index remap");
5412 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) {
5431 if (Decl *D = DeclsLoaded[Index])
5439 Decl *ASTReader::GetDecl(DeclID ID) {
5525 // Switch case IDs are per Decl.
5538 bool (*isKindWeWant)(Decl::Kind);
5540 SmallVectorImpl<Decl*> &Decls;
5545 bool (*isKindWeWant)(Decl::Kind),
5546 SmallVectorImpl<Decl*> &Decls)
5569 if (This->isKindWeWant && !This->isKindWeWant((Decl::Kind)ID->first))
5581 if (Decl *D = This->Reader.GetLocalDecl(M, ID->second)) {
5593 Decl::Kind),
5594 SmallVectorImpl<Decl*> &Decls) {
5638 SmallVectorImpl<Decl *> &Decls) {
5660 // If we are pointing at a top-level decl inside an objc container, we need
5731 // A name might be null because the decl's redeclarable part is
5733 // building that decl (likely indirectly), and so it is later in the
5764 return Reader.getOwningModuleFile(cast<Decl>(DefDC));
5788 = MergedDecls.find(const_cast<Decl *>(cast<Decl>(DC)));
5885 = MergedDecls.find(const_cast<Decl *>(cast<Decl>(DC)));
5906 /// implementation before passing the deserialized implementation decl.
5921 Decl *D = InterestingDecls.front();
5928 void ASTReader::PassInterestingDeclToConsumer(Decl *D) {
5942 // Force deserialization of this decl, which will cause it to be queued for
5959 (Decl *)0);
6121 assert(SemaDeclRefs.size() == 2 && "More decl refs than expected!");
6510 SmallVectorImpl<Decl *> *Decls) {
7208 CXXDestructorDecl *Decl = ReadDeclAs<CXXDestructorDecl>(F, Record, Idx);
7209 return CXXTemporary::Create(Context, Decl);
7299 typedef llvm::DenseMap<IdentifierInfo *, SmallVector<Decl *, 2> >
7365 for (llvm::SmallPtrSet<Decl *, 4>::iterator D = PendingDefinitions.begin(),
7371 const_cast<TagType*>(TagT)->decl = TD;
7388 ->Decl = ID;
7457 Decl *D = InterestingDecls.front();
7470 // Adding the decl to IdResolver may have failed because it was already in