Searched refs:RedeclLink (Results 1 – 6 of 6) sorted by relevance
131 DeclLink RedeclLink; variable135 return RedeclLink.getNext(static_cast<const decl_type *>(this)); in getNextRedeclaration()140 : RedeclLink(LatestDeclLink(Ctx)), First(static_cast<decl_type *>(this)) {} in Redeclarable()145 if (RedeclLink.NextIsPrevious()) in getPreviousDecl()163 bool isFirstDecl() const { return RedeclLink.NextIsLatest(); } in isFirstDecl()
3821 assert(RedeclLink.NextIsLatest() && in setPreviousDecl()3829 assert(First->RedeclLink.NextIsLatest() && "Expected first"); in setPreviousDecl()3831 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl()3844 First->RedeclLink.setLatest(static_cast<decl_type*>(this)); in setPreviousDecl()
185 DeclLink RedeclLink; variable190 return RedeclLink.getPrevious(static_cast<const decl_type *>(this)); in getNextRedeclaration()198 : RedeclLink(LatestDeclLink(Ctx)), in Redeclarable()204 if (!RedeclLink.isFirst()) in getPreviousDecl()222 bool isFirstDecl() const { return RedeclLink.isFirst(); } in isFirstDecl()
4542 assert(RedeclLink.isFirst() && in setPreviousDecl()4550 assert(First->RedeclLink.isFirst() && "Expected first"); in setPreviousDecl()4552 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl()4565 First->RedeclLink.setLatest(static_cast<decl_type*>(this)); in setPreviousDecl()
2489 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()2595 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(ExistingCanon); in mergeRedeclarable()3512 return D->RedeclLink.getLatestNotUpdated(); in getMostRecentDeclImpl()3553 D->RedeclLink.setPrevious(cast<DeclT>(Previous)); in attachPreviousDeclImpl()3565 D->RedeclLink.setPrevious(PrevVD); in attachPreviousDeclImpl()3594 FD->RedeclLink.setPrevious(PrevFD); in attachPreviousDeclImpl()3717 D->RedeclLink.setLatest(cast<DeclT>(Latest)); in attachLatestDeclImpl()3739 D->RedeclLink.markIncomplete(); in markIncompleteDeclChainImpl()
2282 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()2387 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(ExistingCanon); in mergeRedeclarable()3012 return D->RedeclLink.getLatestNotUpdated(); in getMostRecentDeclImpl()3039 D->RedeclLink.setPrevious(cast<DeclT>(Previous)); in attachPreviousDeclImpl()3051 FD->RedeclLink.setPrevious(PrevFD); in attachPreviousDeclImpl()3164 D->RedeclLink.setLatest(cast<DeclT>(Latest)); in attachLatestDeclImpl()3185 D->RedeclLink.markIncomplete(); in markIncompleteDeclChainImpl()