Searched refs:RedeclLink (Results 1 – 5 of 5) sorted by relevance
60 DeclLink RedeclLink; variable63 Redeclarable() : RedeclLink(LatestDeclLink(static_cast<decl_type*>(this))) { } in Redeclarable()68 if (RedeclLink.NextIsPrevious()) in getPreviousDecl()69 return RedeclLink.getNext(); in getPreviousDecl()97 return RedeclLink.NextIsLatest(); in isFirstDeclaration()102 return getFirstDeclaration()->RedeclLink.getNext(); in getMostRecentDecl()107 return getFirstDeclaration()->RedeclLink.getNext(); in getMostRecentDecl()148 decl_type *Next = Current->RedeclLink.getNext();
416 return RedeclLink.getNext(); in getNextRedeclaration()831 virtual VarDecl *getNextRedeclaration() { return RedeclLink.getNext(); } in getNextRedeclaration()1572 virtual FunctionDecl *getNextRedeclaration() { return RedeclLink.getNext(); } in getNextRedeclaration()2348 return RedeclLink.getNext(); in getNextRedeclaration()2518 virtual TagDecl *getNextRedeclaration() { return RedeclLink.getNext(); } in getNextRedeclaration()3307 RedeclLink = PreviousDeclLink( in setPreviousDeclaration()3310 assert(First->RedeclLink.NextIsLatest() && "Expected first"); in setPreviousDeclaration()3317 First->RedeclLink = LatestDeclLink(static_cast<decl_type*>(this)); in setPreviousDeclaration()
622 return RedeclLink.getNext(); in getNextRedeclaration()1125 return RedeclLink.getNext(); in getNextRedeclaration()
488 return RedeclLink.getNext(); in getNextRedeclaration()
1531 D->RedeclLink = typename Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()1559 D->RedeclLink in mergeRedeclarable()1802 TD->RedeclLink.setPointer(cast<TagDecl>(previous)); in attachPreviousDecl()1804 FD->RedeclLink.setPointer(cast<FunctionDecl>(previous)); in attachPreviousDecl()1806 VD->RedeclLink.setPointer(cast<VarDecl>(previous)); in attachPreviousDecl()1808 TD->RedeclLink.setPointer(cast<TypedefNameDecl>(previous)); in attachPreviousDecl()1810 ID->RedeclLink.setPointer(cast<ObjCInterfaceDecl>(previous)); in attachPreviousDecl()1812 PD->RedeclLink.setPointer(cast<ObjCProtocolDecl>(previous)); in attachPreviousDecl()1814 ND->RedeclLink.setPointer(cast<NamespaceDecl>(previous)); in attachPreviousDecl()1817 TD->RedeclLink.setPointer(cast<RedeclarableTemplateDecl>(previous)); in attachPreviousDecl()[all …]