Lines Matching refs:decl
2677 Decl *D = Names[I].getDecl();
3151 assert(CUDASpecialDeclRefs.size() == 1 && "More decl refs than expected!");
4418 TypedefNameDecl *Decl = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx);
4422 return Context.getTypedefType(Decl, Canonical);
5065 Decl *ASTReader::GetExternalDecl(uint32_t ID) {
5108 assert(I != F.DeclRemap.end() && "Invalid index into decl index remap");
5120 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) {
5139 if (Decl *D = DeclsLoaded[Index])
5147 Decl *ASTReader::GetDecl(DeclID ID) {
5233 // Switch case IDs are per Decl.
5246 bool (*isKindWeWant)(Decl::Kind);
5248 SmallVectorImpl<Decl*> &Decls;
5253 bool (*isKindWeWant)(Decl::Kind),
5254 SmallVectorImpl<Decl*> &Decls)
5277 if (This->isKindWeWant && !This->isKindWeWant((Decl::Kind)ID->first))
5289 if (Decl *D = This->Reader.GetLocalDecl(M, ID->second)) {
5301 bool (*isKindWeWant)(Decl::Kind),
5302 SmallVectorImpl<Decl*> &Decls) {
5346 SmallVectorImpl<Decl *> &Decls) {
5368 // If we are pointing at a top-level decl inside an objc container, we need
5439 // A name might be null because the decl's redeclarable part is
5441 // building that decl (likely indirectly), and so it is later in the
5472 return Reader.getOwningModuleFile(cast<Decl>(DefDC));
5496 = MergedDecls.find(const_cast<Decl *>(cast<Decl>(DC)));
5595 = MergedDecls.find(const_cast<Decl *>(cast<Decl>(DC)));
5618 /// implementation before passing the deserialized implementation decl.
5633 Decl *D = InterestingDecls.front();
5640 void ASTReader::PassInterestingDeclToConsumer(Decl *D) {
5654 // Force deserialization of this decl, which will cause it to be queued for
5671 (Decl *)0);
5833 assert(SemaDeclRefs.size() == 2 && "More decl refs than expected!");
6209 SmallVectorImpl<Decl *> *Decls) {
6897 CXXDestructorDecl *Decl = ReadDeclAs<CXXDestructorDecl>(F, Record, Idx);
6898 return CXXTemporary::Create(Context, Decl);
6988 llvm::DenseMap<IdentifierInfo *, SmallVector<Decl *, 2> > TopLevelDecls;
7006 for (llvm::DenseMap<IdentifierInfo *, SmallVector<Decl *, 2> >::iterator
7043 for (llvm::SmallPtrSet<Decl *, 4>::iterator D = PendingDefinitions.begin(),
7049 const_cast<TagType*>(TagT)->decl = TD;
7066 ->Decl = ID;
7135 Decl *D = InterestingDecls.front();