Searched refs:FirstDecl (Results 1 – 7 of 7) sorted by relevance
987 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage()988 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage()1054 return decl_iterator(FirstDecl); in noload_decls_begin()1061 return decl_iterator(FirstDecl); in decls_begin()1068 return !FirstDecl; in decls_empty()1083 if (D == FirstDecl) { in removeDecl()1085 FirstDecl = LastDecl = 0; in removeDecl()1087 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()1089 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()1125 if (FirstDecl) { in addHiddenDecl()[all …]
3381 return field_iterator(decl_iterator(FirstDecl)); in field_begin()3430 llvm::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
1030 mutable Decl *FirstDecl;1052 FirstDecl(0), LastDecl(0) {} in DeclContext()1612 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl || in isDeclInLexicalTraversal()
653 NamedDecl *FirstDecl = Corrected.getCorrectionDecl(); in ClassifyName() local655 = FirstDecl? FirstDecl->getUnderlyingDecl() : 0; in ClassifyName()690 if (FirstDecl) in ClassifyName()691 Result.addDecl(FirstDecl); in ClassifyName()808 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local809 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName()817 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl); in ClassifyName()821 = dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName()840 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl)) in ClassifyName()842 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName()[all …]
1669 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes(D); in ParseDeclGroup() local1671 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup()1672 D.complete(FirstDecl); in ParseDeclGroup()1673 if (FirstDecl) in ParseDeclGroup()1674 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
1820 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local1821 if (FirstDecl != D) { in VisitRedeclarable()1826 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()
975 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry() local979 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl, in ReadSLocEntry()