| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 758 return getPreviousDecl(); in getPreviousDeclImpl() 947 using redeclarable_base::getPreviousDecl; 1055 FunctionTemplateDecl *getPreviousDecl() { 2331 ClassTemplateDecl *getPreviousDecl() { 2335 const ClassTemplateDecl *getPreviousDecl() const { 2338 this)->getPreviousDecl()); 2553 TypeAliasTemplateDecl *getPreviousDecl() { 2560 this)->getPreviousDecl()); 3159 VarTemplateDecl *getPreviousDecl() { 3163 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; 585 using redeclarable_base::getPreviousDecl; 1054 return getPreviousDecl(); in getPreviousDeclImpl() 1068 using redeclarable_base::getPreviousDecl; 2001 return getPreviousDecl(); in getPreviousDeclImpl() 2018 using redeclarable_base::getPreviousDecl; 3195 return getPreviousDecl(); in getPreviousDeclImpl() 3359 return getPreviousDecl(); in getPreviousDeclImpl() 3665 EnumDecl *getPreviousDecl() { in getPreviousDecl() function [all …]
|
| H A D | DeclCXX.h | 502 CXXRecordDecl *getPreviousDecl() { in getPreviousDecl() function 504 static_cast<RecordDecl *>(this)->getPreviousDecl()); in getPreviousDecl() 507 const CXXRecordDecl *getPreviousDecl() const { in getPreviousDecl() function 508 return const_cast<CXXRecordDecl*>(this)->getPreviousDecl(); in getPreviousDecl() 525 assert(Recent->getPreviousDecl()); in getMostRecentNonInjectedDecl() 526 Recent = Recent->getPreviousDecl(); in getMostRecentNonInjectedDecl() 3037 using redeclarable_base::getPreviousDecl; 3205 return getPreviousDecl(); in getPreviousDeclImpl() 3237 using redeclarable_base::getPreviousDecl;
|
| H A D | DeclBase.h | 984 Decl *getPreviousDecl() { return getPreviousDeclImpl(); } in getPreviousDecl() function 988 const Decl *getPreviousDecl() const { in getPreviousDecl() function 994 return getPreviousDecl() == nullptr; in isFirstDecl() 1075 Decl *Prev = getPreviousDecl(); in setLocalExternDecl() 1114 Decl *Prev = getPreviousDecl();
|
| H A D | DeclObjC.h | 1253 return getPreviousDecl(); in getPreviousDeclImpl() 1886 using redeclarable_base::getPreviousDecl; 2077 return getPreviousDecl(); in getPreviousDeclImpl() 2229 using redeclarable_base::getPreviousDecl;
|
| H A D | JSONNodeDumper.h | 179 const T *Prev = D->getPreviousDecl(); in writePreviousDeclImpl()
|
| H A D | TypeProperties.td | 554 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) { 563 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 94 for (const Decl *P = VD; P; P = P->getPreviousDecl()) { in getGlobal() 151 for (const Decl *P = VD; P; P = P->getPreviousDecl()) in createGlobal()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateName.cpp | 167 Decl = cast<TemplateDecl>(Decl->getPreviousDecl()); in getNameToSubstitute()
|
| H A D | ASTDumper.cpp | 64 if (Decl *Prev = D->getPreviousDecl()) in dumpLookups()
|
| H A D | Decl.cpp | 659 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() 669 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() 670 PrevVar = PrevVar->getPreviousDecl()) { in getLVForNamespaceScopeDecl() 1157 TD = TD->getPreviousDecl(); in getExplicitVisibilityAux() 1284 if (const VarDecl *Prev = Var->getPreviousDecl()) { in getLVForLocalDecl() 3399 FD = FD->getPreviousDecl()) in isMSExternInline() 3410 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD; in redeclForcesDefMSVC() 3411 FD = FD->getPreviousDecl()) in redeclForcesDefMSVC() 3467 while ((Prev = Prev->getPreviousDecl())) { in doesDeclarationForceExternallyVisibleDefinition() 3492 while ((Prev = Prev->getPreviousDecl())) { in doesDeclarationForceExternallyVisibleDefinition()
|
| H A D | DeclTemplate.cpp | 258 for (const RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev; in getCommonPtr() 259 Prev = Prev->getPreviousDecl()) { in getCommonPtr() 414 for (; Prev; Prev = Prev->getPreviousDecl()) { in mergePrevDecl() 1145 CurD = CurD->getPreviousDecl(); in getDefinition()
|
| H A D | DeclCXX.cpp | 879 if (Primary->getPreviousDecl()) in addedMember() 880 Conversions.replace(cast<NamedDecl>(Primary->getPreviousDecl()), in addedMember() 2896 return getPreviousDecl(); in getPreviousDeclImpl() 2910 return getPreviousDecl(); in getPreviousDeclImpl()
|
| H A D | APValue.cpp | 74 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) { in getType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 179 TranslationUnitDecl *PreviousTU = MostRecentTU->getPreviousDecl(); in ParseOrWrapTopLevelDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAccess.cpp | 1120 PrevDecl = VD->getPreviousDecl(); in diagnoseBadDirectAccess() 1122 PrevDecl = FD->getPreviousDecl(); in diagnoseBadDirectAccess() 1124 PrevDecl = TND->getPreviousDecl(); in diagnoseBadDirectAccess() 1128 PrevDecl = TD->getPreviousDecl(); in diagnoseBadDirectAccess()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 811 DeclT *Result = D->getPreviousDecl(); in getPreviousDeclForInstantiation() 2218 if (isFriend && TemplateParams && FunctionTemplate->getPreviousDecl()) { in VisitFunctionDecl() 2221 FunctionTemplate->getPreviousDecl()->getTemplateParameters(), in VisitFunctionDecl() 2256 (Function->isLocalExternDecl() && !Function->getPreviousDecl())) in VisitFunctionDecl() 2580 if (isFriend && Method->getPreviousDecl()) in VisitCXXMethodDecl() 2581 Method->setAccess(Method->getPreviousDecl()->getAccess()); in VisitCXXMethodDecl() 2615 if (!D->getPreviousDecl()) in VisitCXXMethodDecl() 4912 D = D->getPreviousDecl()) { in InstantiateFunctionDefinition() 5216 if (NewVar->isLocalExternDecl() && OldVar->getPreviousDecl() && in BuildVariableInstantiation() 5217 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation() [all …]
|
| H A D | SemaAvailability.cpp | 344 Redecl = Redecl->getPreviousDecl()) { in DoEmitAvailabilityWarning()
|
| H A D | SemaDecl.cpp | 3999 PrevVD = PrevVD->getPreviousDecl()) { in MergeVarDeclTypes() 5631 if (D->getPreviousDecl() || D->isImplicit()) in warnOnReservedIdentifier() 7497 NewVD->getPreviousDecl() in ActOnVariableDeclarator() 9734 if (isFriend && NewFD->getPreviousDecl()) { in ActOnFunctionDeclarator() 9737 Access = NewFD->getPreviousDecl()->getAccess(); in ActOnFunctionDeclarator() 10470 for (const Decl *D = FD->getPreviousDecl(); D; D = D->getPreviousDecl()) { in PreviousDeclsHaveMultiVersionAttribute() 11859 if (VarDecl *Old = VDecl->getPreviousDecl()) { in DeduceVariableDeclarationType() 13066 VarDecl *prev = var->getPreviousDecl(); in CheckCompleteVariableDeclaration() 13068 prev = prev->getPreviousDecl(); in CheckCompleteVariableDeclaration() 14072 Prev; Prev = Prev->getPreviousDecl()) { in ShouldWarnAboutMissingPrototype() [all …]
|
| H A D | SemaLookup.cpp | 451 for (Decl *Prev = DUnderlying->getPreviousDecl(); Prev; in isPreferredLookupResult() 452 Prev = Prev->getPreviousDecl()) in isPreferredLookupResult() 3544 Cursor = Cursor->getPreviousDecl(); in insert() 3607 D = cast_or_null<NamedDecl>(D->getPreviousDecl())) { in ArgumentDependentLookup()
|
| H A D | SemaTemplate.cpp | 4438 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnVarTemplateSpecialization() 8495 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnClassTemplateSpecialization() 8683 Prev = Prev->getPreviousDecl()) { in DiagLocForExplicitInstantiation() 8761 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 8846 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 9873 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl()); in ActOnExplicitInstantiation() 10264 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); in ActOnExplicitInstantiation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 182 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule() 1130 assert(D->getPreviousDecl() == nullptr && "PARM_VAR_DECL can't be redecl"); in VisitParmVarDecl() 1580 if (D->getPreviousDecl() == nullptr) { in VisitClassTemplatePartialSpecializationDecl() 1640 if (D->getPreviousDecl() == nullptr) { in VisitVarTemplatePartialSpecializationDecl() 1792 for (const Decl *Redecl = D; Redecl; Redecl = Redecl->getPreviousDecl()) in getFirstLocalDecl() 1828 Prev != FirstLocal; Prev = Prev->getPreviousDecl()) in VisitRedeclarable() 1849 (void)Writer.GetDeclRef(D->getPreviousDecl()); in VisitRedeclarable()
|
| H A D | ASTReaderDecl.cpp | 481 Current = Current->getPreviousDecl(); in operator ++() 3601 for (VarDecl *CurD = PrevVD; CurD; CurD = CurD->getPreviousDecl()) { in attachPreviousDeclImpl() 4444 Redecl = Redecl->getPreviousDecl()) in forAllLaterRedecls() 4450 Redecl = Redecl->getPreviousDecl()) in forAllLaterRedecls()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 411 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration() 413 Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl(); in ParseLexedMethodDeclaration()
|