| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 744 return getPreviousDecl(); in getPreviousDeclImpl() 950 using redeclarable_base::getPreviousDecl; 1049 FunctionTemplateDecl *getPreviousDecl() { 2333 ClassTemplateDecl *getPreviousDecl() { 2337 const ClassTemplateDecl *getPreviousDecl() const { 2340 this)->getPreviousDecl()); 2555 TypeAliasTemplateDecl *getPreviousDecl() { 2562 this)->getPreviousDecl()); 3103 VarTemplateDecl *getPreviousDecl() { 3107 const VarTemplateDecl *getPreviousDecl() const { [all …]
|
| H A D | Redeclarable.h | 204 decl_type *getPreviousDecl() { in getPreviousDecl() function 209 const decl_type *getPreviousDecl() const { in getPreviousDecl() function 211 static_cast<const decl_type*>(this))->getPreviousDecl(); in getPreviousDecl()
|
| H A D | Decl.h | 92 return getPreviousDecl(); in getPreviousDeclImpl() 114 using redeclarable_base::getPreviousDecl; 592 using redeclarable_base::getPreviousDecl; 1123 return getPreviousDecl(); in getPreviousDeclImpl() 1137 using redeclarable_base::getPreviousDecl; 2113 return getPreviousDecl(); in getPreviousDeclImpl() 2130 using redeclarable_base::getPreviousDecl; 3419 return getPreviousDecl(); in getPreviousDeclImpl() 3583 return getPreviousDecl(); in getPreviousDeclImpl() 3912 EnumDecl *getPreviousDecl() { in getPreviousDecl() function [all …]
|
| H A D | DeclBase.h | 1061 Decl *getPreviousDecl() { return getPreviousDeclImpl(); } in getPreviousDecl() function 1065 const Decl *getPreviousDecl() const { in getPreviousDecl() function 1071 return getPreviousDecl() == nullptr; in isFirstDecl() 1152 Decl *Prev = getPreviousDecl(); in setLocalExternDecl() 1191 Decl *Prev = getPreviousDecl();
|
| H A D | DeclCXX.h | 531 CXXRecordDecl *getPreviousDecl() { in getPreviousDecl() function 533 static_cast<RecordDecl *>(this)->getPreviousDecl()); in getPreviousDecl() 536 const CXXRecordDecl *getPreviousDecl() const { in getPreviousDecl() function 537 return const_cast<CXXRecordDecl*>(this)->getPreviousDecl(); in getPreviousDecl() 554 assert(Recent->getPreviousDecl()); in getMostRecentNonInjectedDecl() 555 Recent = Recent->getPreviousDecl(); in getMostRecentNonInjectedDecl() 3164 using redeclarable_base::getPreviousDecl; 3332 return getPreviousDecl(); in getPreviousDeclImpl() 3364 using redeclarable_base::getPreviousDecl;
|
| H A D | DeclObjC.h | 1266 return getPreviousDecl(); in getPreviousDeclImpl() 1905 using redeclarable_base::getPreviousDecl; 2122 return getPreviousDecl(); in getPreviousDeclImpl() 2286 using redeclarable_base::getPreviousDecl;
|
| H A D | JSONNodeDumper.h | 179 const T *Prev = D->getPreviousDecl(); in writePreviousDeclImpl()
|
| H A D | TypeProperties.td | 575 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) { 584 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 112 for (const Decl *P = VD; P; P = P->getPreviousDecl()) { in getGlobal() 175 for (const Decl *P = VD; P; P = P->getPreviousDecl()) in createGlobal()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 641 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() 651 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() 652 PrevVar = PrevVar->getPreviousDecl()) { in getLVForNamespaceScopeDecl() 1253 TD = TD->getPreviousDecl(); in getExplicitVisibilityAux() 1386 if (const VarDecl *Prev = Var->getPreviousDecl()) { in getLVForLocalDecl() 2351 Decl = Decl->getPreviousDecl()) { in getActingDefinition() 3708 FD = FD->getPreviousDecl()) in isMSExternInline() 3719 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD; in redeclForcesDefMSVC() 3720 FD = FD->getPreviousDecl()) in redeclForcesDefMSVC() 3776 while ((Prev = Prev->getPreviousDecl())) { in doesDeclarationForceExternallyVisibleDefinition() [all …]
|
| H A D | ASTDumper.cpp | 93 if (Decl *Prev = D->getPreviousDecl()) in dumpLookups()
|
| H A D | DeclTemplate.cpp | 309 for (const RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev; in getCommonPtr() 310 Prev = Prev->getPreviousDecl()) { in getCommonPtr() 466 for (; Prev; Prev = Prev->getPreviousDecl()) { in mergePrevDecl() 1207 CurD = CurD->getPreviousDecl(); in getDefinition()
|
| H A D | TemplateName.cpp | 228 Decl = cast<TemplateDecl>(Decl->getPreviousDecl()); in getNameToSubstitute()
|
| H A D | DeclCXX.cpp | 878 if (Primary->getPreviousDecl()) in addedMember() 879 Conversions.replace(cast<NamedDecl>(Primary->getPreviousDecl()), in addedMember() 3001 return getPreviousDecl(); in getPreviousDeclImpl() 3015 return getPreviousDecl(); in getPreviousDeclImpl()
|
| H A D | APValue.cpp | 74 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) { in getType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAccess.cpp | 1130 PrevDecl = VD->getPreviousDecl(); in diagnoseBadDirectAccess() 1132 PrevDecl = FD->getPreviousDecl(); in diagnoseBadDirectAccess() 1134 PrevDecl = TND->getPreviousDecl(); in diagnoseBadDirectAccess() 1138 PrevDecl = TD->getPreviousDecl(); in diagnoseBadDirectAccess()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 903 DeclT *Result = D->getPreviousDecl(); in getPreviousDeclForInstantiation() 2373 if (isFriend && TemplateParams && FunctionTemplate->getPreviousDecl()) { in VisitFunctionDecl() 2376 FunctionTemplate->getPreviousDecl()->getTemplateParameters(), in VisitFunctionDecl() 2411 (Function->isLocalExternDecl() && !Function->getPreviousDecl())) in VisitFunctionDecl() 2764 if (isFriend && Method->getPreviousDecl()) in VisitCXXMethodDecl() 2765 Method->setAccess(Method->getPreviousDecl()->getAccess()); in VisitCXXMethodDecl() 2815 if (!D->getPreviousDecl()) in VisitCXXMethodDecl() 5034 D = D->getPreviousDecl()) { in InstantiateFunctionDefinition() 5348 if (NewVar->isLocalExternDecl() && OldVar->getPreviousDecl() && in BuildVariableInstantiation() 5349 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation() [all …]
|
| H A D | SemaAvailability.cpp | 360 Redecl = Redecl->getPreviousDecl()) { in DoEmitAvailabilityWarning()
|
| H A D | SemaTemplate.cpp | 1851 D->getPreviousDecl()) in GetTemplateParameterList() 1852 D = D->getPreviousDecl(); in GetTemplateParameterList() 4787 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnVarTemplateSpecialization() 9097 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnClassTemplateSpecialization() 9340 Prev = Prev->getPreviousDecl()) { in DiagLocForExplicitInstantiation() 9420 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 9505 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 10533 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl()); in ActOnExplicitInstantiation() 10924 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); in ActOnExplicitInstantiation()
|
| H A D | SemaLookup.cpp | 455 for (const Decl *Prev = DUnderlying->getPreviousDecl(); Prev; in isPreferredLookupResult() 456 Prev = Prev->getPreviousDecl()) in isPreferredLookupResult() 3829 Cursor = Cursor->getPreviousDecl(); in insert() 3898 D = cast_or_null<NamedDecl>(D->getPreviousDecl())) { in ArgumentDependentLookup()
|
| H A D | SemaDecl.cpp | 4497 PrevVD = PrevVD->getPreviousDecl()) { in MergeVarDeclTypes() 6199 if (D->getPreviousDecl() || D->isImplicit()) in warnOnReservedIdentifier() 8177 NewVD->getPreviousDecl() in ActOnVariableDeclarator() 10605 if (isFriend && NewFD->getPreviousDecl()) { in ActOnFunctionDeclarator() 10608 Access = NewFD->getPreviousDecl()->getAccess(); in ActOnFunctionDeclarator() 11377 for (const Decl *D = FD->getPreviousDecl(); D; D = D->getPreviousDecl()) { in PreviousDeclsHaveMultiVersionAttribute() 13162 if (VarDecl *Old = VDecl->getPreviousDecl()) { in DeduceVariableDeclarationType() 14422 VarDecl *prev = var->getPreviousDecl(); in CheckCompleteVariableDeclaration() 14424 prev = prev->getPreviousDecl(); in CheckCompleteVariableDeclaration() 15468 Prev = Prev->getPreviousDecl()) { in FindPossiblePrototype() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | CodeCompletion.cpp | 299 DeclCtxt = DeclCtxt->getPreviousDecl()) { in completeVisibleDeclsMap()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 184 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule() 1213 assert(D->getPreviousDecl() == nullptr && "PARM_VAR_DECL can't be redecl"); in VisitParmVarDecl() 1731 if (D->getPreviousDecl() == nullptr) { in VisitClassTemplatePartialSpecializationDecl() 1792 if (D->getPreviousDecl() == nullptr) { in VisitVarTemplatePartialSpecializationDecl() 1942 for (const Decl *Redecl = D; Redecl; Redecl = Redecl->getPreviousDecl()) in getFirstLocalDecl() 1978 Prev != FirstLocal; Prev = Prev->getPreviousDecl()) in VisitRedeclarable() 1999 (void)Writer.GetDeclRef(D->getPreviousDecl()); in VisitRedeclarable()
|
| H A D | ASTReaderDecl.cpp | 501 Current = Current->getPreviousDecl(); in operator ++() 3605 for (VarDecl *CurD = PrevVD; CurD; CurD = CurD->getPreviousDecl()) { in attachPreviousDeclImpl() 4456 Redecl = Redecl->getPreviousDecl()) in forAllLaterRedecls() 4462 Redecl = Redecl->getPreviousDecl()) in forAllLaterRedecls()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 428 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration() 430 Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl(); in ParseLexedMethodDeclaration()
|