Lines Matching refs:decl
2507 if (Decl *D = Names[I].dyn_cast<Decl *>())
2945 assert(CUDASpecialDeclRefs.size() == 1 && "More decl refs than expected!");
3886 TypedefNameDecl *Decl = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx);
3890 return Context.getTypedefType(Decl, Canonical);
4516 Decl *ASTReader::GetExternalDecl(uint32_t ID) {
4559 assert(I != F.DeclRemap.end() && "Invalid index into decl index remap");
4571 ModuleFile *ASTReader::getOwningModuleFile(Decl *D) {
4590 if (Decl *D = DeclsLoaded[Index])
4598 Decl *ASTReader::GetDecl(DeclID ID) {
4679 // Switch case IDs are per Decl.
4692 bool (*isKindWeWant)(Decl::Kind);
4694 SmallVectorImpl<Decl*> &Decls;
4699 bool (*isKindWeWant)(Decl::Kind),
4700 SmallVectorImpl<Decl*> &Decls)
4723 if (This->isKindWeWant && !This->isKindWeWant((Decl::Kind)ID->first))
4735 if (Decl *D = This->Reader.GetLocalDecl(M, ID->second)) {
4747 bool (*isKindWeWant)(Decl::Kind),
4748 SmallVectorImpl<Decl*> &Decls) {
4792 SmallVectorImpl<Decl *> &Decls) {
4814 // If we are pointing at a top-level decl inside an objc container, we need
4921 = MergedDecls.find(const_cast<Decl *>(cast<Decl>(DC)));
5009 = MergedDecls.find(const_cast<Decl *>(cast<Decl>(DC)));
5030 /// implementation before passing the deserialized implementation decl.
5045 Decl *D = InterestingDecls.front();
5052 void ASTReader::PassInterestingDeclToConsumer(Decl *D) {
5066 // Force deserialization of this decl, which will cause it to be queued for
5083 (Decl *)0);
5215 assert(SemaDeclRefs.size() == 2 && "More decl refs than expected!");
6206 CXXDestructorDecl *Decl = ReadDeclAs<CXXDestructorDecl>(F, Record, Idx);
6207 return CXXTemporary::Create(Context, Decl);
6263 for (llvm::SmallPtrSet<Decl *, 4>::iterator D = PendingDefinitions.begin(),
6269 const_cast<TagType*>(TagT)->decl = TD;
6286 ->Decl = ID;
6335 Decl *D = InterestingDecls.front();