Home
last modified time | relevance | path

Searched refs:RedeclLink (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/AST/
DRedeclarable.h131 DeclLink RedeclLink; variable
135 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()
DDecl.h3821 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()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2282 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()