Searched refs:getPreviousDecl (Results 1 - 25 of 27) sorted by relevance

12

/external/clang/include/clang/AST/
H A DRedeclarable.h136 decl_type *getPreviousDecl() { function in class:clang::Redeclarable
141 const decl_type *getPreviousDecl() const { function in class:clang::Redeclarable
143 static_cast<const decl_type*>(this))->getPreviousDecl();
H A DDeclTemplate.h538 return getPreviousDecl();
710 using redeclarable_base::getPreviousDecl;
826 FunctionTemplateDecl *getPreviousDecl() { function in class:clang::FunctionTemplateDecl
828 static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl());
833 const FunctionTemplateDecl *getPreviousDecl() const { function in class:clang::FunctionTemplateDecl
835 static_cast<const RedeclarableTemplateDecl *>(this)->getPreviousDecl());
1469 assert(Recent->isInjectedClassName() && Recent->getPreviousDecl());
1470 Recent = Recent->getPreviousDecl();
1897 ClassTemplateDecl *getPreviousDecl() { function in class:clang::ClassTemplateDecl
1899 static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl());
1904 const ClassTemplateDecl *getPreviousDecl() const { function in class:clang::ClassTemplateDecl
2135 TypeAliasTemplateDecl *getPreviousDecl() { function in class:clang::TypeAliasTemplateDecl
2142 const TypeAliasTemplateDecl *getPreviousDecl() const { function in class:clang::TypeAliasTemplateDecl
2730 VarTemplateDecl *getPreviousDecl() { function in class:clang::VarTemplateDecl
2737 const VarTemplateDecl *getPreviousDecl() const { function in class:clang::VarTemplateDecl
[all...]
H A DDecl.h435 using redeclarable_base::getPreviousDecl;
834 return getPreviousDecl();
846 using redeclarable_base::getPreviousDecl;
1482 /// getPreviousDecl() chain.
1626 return getPreviousDecl();
1638 using redeclarable_base::getPreviousDecl;
2550 return getPreviousDecl();
2562 using redeclarable_base::getPreviousDecl;
2746 return getPreviousDecl();
2763 using redeclarable_base::getPreviousDecl;
[all...]
H A DDeclCXX.h272 *this = Canon->getPreviousDecl()->DefinitionData.update();
658 CXXRecordDecl *getPreviousDecl() { function in class:clang::CXXRecordDecl
660 static_cast<RecordDecl *>(this)->getPreviousDecl());
662 const CXXRecordDecl *getPreviousDecl() const { function in class:clang::CXXRecordDecl
663 return const_cast<CXXRecordDecl*>(this)->getPreviousDecl();
2708 using redeclarable_base::getPreviousDecl;
2803 return getPreviousDecl();
2823 using redeclarable_base::getPreviousDecl;
H A DDeclBase.h726 /// \brief Implementation of getPreviousDecl(), to be overridden by any
792 Decl *getPreviousDecl() { return getPreviousDeclImpl(); } function in class:clang::Decl
796 const Decl *getPreviousDecl() const { function in class:clang::Decl
802 return getPreviousDecl() == nullptr;
875 Decl *Prev = getPreviousDecl();
908 Decl *Prev = getPreviousDecl();
H A DDeclObjC.h764 return getPreviousDecl();
1354 using redeclarable_base::getPreviousDecl;
1543 return getPreviousDecl();
1677 using redeclarable_base::getPreviousDecl;
/external/clang/tools/libclang/
H A DIndexingContext.h151 /*isRedeclaration=*/D->getPreviousDecl() != nullptr,
165 /*isRedeclaration=*/D->getPreviousDecl(),
H A DIndexingContext.cpp434 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl();
489 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl();
/external/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp274 DeclT *Result = D->getPreviousDecl();
1574 if (Function->isLocalExternDecl() && !Function->getPreviousDecl())
1812 if (isFriend && Method->getPreviousDecl())
1813 Method->setAccess(Method->getPreviousDecl()->getAccess());
1839 if (!D->getPreviousDecl())
3378 D = D->getPreviousDecl()) {
3597 if (NewVar->isLocalExternDecl() && OldVar->getPreviousDecl() &&
3598 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() ||
3599 OldVar->getPreviousDecl()->getDeclContext()==OldVar->getDeclContext())) {
3603 NewVar->getLocation(), OldVar->getPreviousDecl(), TemplateArg
[all...]
H A DSemaAccess.cpp1107 PrevDecl = VD->getPreviousDecl();
1109 PrevDecl = FD->getPreviousDecl();
1111 PrevDecl = TND->getPreviousDecl();
1115 PrevDecl = TD->getPreviousDecl();
H A DSemaTemplate.cpp2606 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
6344 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
6486 Prev = Prev->getPreviousDecl()) {
6563 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
6652 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
7436 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl());
7795 FunctionDecl *PrevDecl = Specialization->getPreviousDecl();
H A DSemaTemplateInstantiate.cpp2544 if (Record->isInjectedClassName() || Record->getPreviousDecl() ||
2783 CheckD = Tag->getPreviousDecl();
H A DSemaDecl.cpp5936 NewVD->getPreviousDecl()
5937 ? NewVD->getPreviousDecl()->getDescribedVarTemplate()
7675 Access = NewFD->getPreviousDecl()->getAccess();
7689 FunctionTemplate->getPreviousDecl();
8810 if (VarDecl *Old = VDecl->getPreviousDecl()) {
9539 VarDecl *prev = var->getPreviousDecl();
9541 prev = prev->getPreviousDecl();
10243 for (const FunctionDecl *Prev = FD->getPreviousDecl();
10244 Prev; Prev = Prev->getPreviousDecl()) {
10576 if (!FD->isFirstDecl() && FD->getPreviousDecl()
[all...]
H A DSemaLookup.cpp2832 Cursor = Cursor->getPreviousDecl();
2890 for (Decl *DI = D; DI; DI = DI->getPreviousDecl()) {
H A DSemaDeclCXX.cpp522 Older = Older->getPreviousDecl();
7109 NS = NS->getPreviousDecl())
12706 if (FunctionDecl *OldFD = FD->getPreviousDecl()) {
12734 if (const FunctionDecl *Prev = Fn->getPreviousDecl()) {
12738 Prev->getPreviousDecl()) &&
/external/clang/lib/AST/
H A DDecl.cpp595 const VarDecl *PrevVar = Var->getPreviousDecl();
605 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar;
606 PrevVar = PrevVar->getPreviousDecl()) {
1163 if (const VarDecl *Prev = Var->getPreviousDecl()) {
1511 if (FD->getPreviousDecl() != OldD)
2703 FD = FD->getPreviousDecl())
2714 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD;
2715 FD = FD->getPreviousDecl())
2768 while ((Prev = Prev->getPreviousDecl())) {
2796 while ((Prev = Prev->getPreviousDecl())) {
[all...]
H A DDeclTemplate.cpp138 for (const RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev;
139 Prev = Prev->getPreviousDecl()) {
956 CurD = CurD->getPreviousDecl();
H A DDeclCXX.cpp582 if (Primary->getPreviousDecl())
583 Conversions.replace(cast<NamedDecl>(Primary->getPreviousDecl()),
2008 return getPreviousDecl();
2020 return getPreviousDecl();
H A DDeclBase.cpp982 N = N->getPreviousDecl())
H A DASTContext.cpp2128 if (FunctionDecl *Next = FD->getPreviousDecl())
3008 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) {
3070 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl())
3083 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl())
/external/clang/lib/Serialization/
H A DASTWriterDecl.cpp896 assert(D->getPreviousDecl() == nullptr && "PARM_VAR_DECL can't be redecl");
1295 if (D->getPreviousDecl() == nullptr) {
1353 if (D->getPreviousDecl() == nullptr) {
1489 auto *Previous = D->getPreviousDecl();
1501 PreviousLocal = PreviousLocal->getPreviousDecl();
1508 Redecl = Redecl->getPreviousDecl())
H A DASTReader.cpp5593 for (auto *DI = D; DI; DI = DI->getPreviousDecl()) {
5601 for (auto *DI = D; DI; DI = DI->getPreviousDecl())
8427 R = R->getPreviousDecl()) {
8443 for (auto *R = getMostRecentExistingDecl(ID); R; R = R->getPreviousDecl())
8450 for (auto *R = getMostRecentExistingDecl(PD); R; R = R->getPreviousDecl())
8457 for (auto *R = getMostRecentExistingDecl(RTD); R; R = R->getPreviousDecl())
H A DASTReaderDecl.cpp3558 Current = Current->getPreviousDecl();
3592 Redecl = Redecl->getPreviousDecl())
3598 Redecl = Redecl->getPreviousDecl())
H A DASTWriter.cpp3114 if (Decl *Redecl = D->getPreviousDecl()) {
3116 for (; Redecl; Redecl = Redecl->getPreviousDecl()) {
3970 Prev = Prev->getPreviousDecl()) {
/external/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp381 FunctionDecl *Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl();

Completed in 498 milliseconds

12