Searched refs:FirstDecl (Results 1 – 7 of 7) sorted by relevance
1135 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage()1136 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage()1209 return decl_iterator(FirstDecl); in decls_begin()1216 return !FirstDecl; in decls_empty()1231 if (D == FirstDecl) { in removeDecl()1233 FirstDecl = LastDecl = nullptr; in removeDecl()1235 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()1237 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()1276 if (FirstDecl) { in addHiddenDecl()1280 FirstDecl = LastDecl = D; in addHiddenDecl()[all …]
3770 return field_iterator(decl_iterator(FirstDecl)); in field_begin()3809 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
1179 mutable Decl *FirstDecl;1203 LookupPtr(nullptr), FirstDecl(nullptr), LastDecl(nullptr) {} in DeclContext()1464 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); } in noload_decls_begin()1779 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl || in isDeclInLexicalTraversal()
1844 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( in ParseDeclGroup() local1847 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup()1848 D.complete(FirstDecl); in ParseDeclGroup()1849 if (FirstDecl) in ParseDeclGroup()1850 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
860 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() local896 if (FirstDecl) in ClassifyName()897 Result.addDecl(FirstDecl); in ClassifyName()1014 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local1015 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName()1024 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl); in ClassifyName()1028 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName()1047 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl)) in ClassifyName()1049 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName()1056 FirstDecl->getUnderlyingDecl()->isFunctionOrFunctionTemplate())) && in ClassifyName()[all …]
2276 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local2277 if (FirstDecl != D) { in VisitRedeclarable()2282 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()2283 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
1286 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry() local1290 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl, in ReadSLocEntry()