Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DRedeclarable.h116 DeclLink RedeclLink; variable
119 return RedeclLink.getNext(static_cast<const decl_type *>(this)); in getNextRedeclaration()
124 : RedeclLink(LatestDeclLink(Ctx)) {} in Redeclarable()
129 if (RedeclLink.NextIsPrevious()) in getPreviousDecl()
157 bool isFirstDecl() const { return RedeclLink.NextIsLatest(); } in isFirstDecl()
DDecl.h3594 assert(RedeclLink.NextIsLatest() && in setPreviousDecl()
3604 assert(First->RedeclLink.NextIsLatest() && "Expected first"); in setPreviousDecl()
3606 RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent)); in setPreviousDecl()
3619 First->RedeclLink.setLatest(static_cast<decl_type*>(this)); in setPreviousDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1994 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()
2062 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(ExistingCanon); in mergeRedeclarable()
2470 D->RedeclLink.setPrevious(cast<DeclT>(Previous)); in attachPreviousDeclImpl()
2531 D->RedeclLink.setLatest(cast<DeclT>(Latest)); in attachLatestDeclImpl()
2552 D->RedeclLink.markIncomplete(); in markIncompleteDeclChainImpl()