| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 722 return getPreviousDecl(); in getPreviousDeclImpl() 924 using redeclarable_base::getPreviousDecl; 1043 FunctionTemplateDecl *getPreviousDecl() { 1045 static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 1047 const FunctionTemplateDecl *getPreviousDecl() const { 1049 static_cast<const RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 2352 ClassTemplateDecl *getPreviousDecl() { 2354 static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 2356 const ClassTemplateDecl *getPreviousDecl() const { 2359 this)->getPreviousDecl()); [all …]
|
| H A D | Redeclarable.h | 201 decl_type *getPreviousDecl() { in getPreviousDecl() function 206 const decl_type *getPreviousDecl() const { in getPreviousDecl() function 208 static_cast<const decl_type*>(this))->getPreviousDecl(); in getPreviousDecl()
|
| H A D | Decl.h | 112 return getPreviousDecl(); in getPreviousDeclImpl() 134 using redeclarable_base::getPreviousDecl; 609 using redeclarable_base::getPreviousDecl; 1118 return getPreviousDecl(); in getPreviousDeclImpl() 1132 using redeclarable_base::getPreviousDecl; 2146 return getPreviousDecl(); in getPreviousDeclImpl() 2163 using redeclarable_base::getPreviousDecl; 3552 return getPreviousDecl(); in getPreviousDeclImpl() 3566 using redeclarable_base::getPreviousDecl; 3717 return getPreviousDecl(); in getPreviousDeclImpl() [all …]
|
| H A D | DeclCXX.h | 530 CXXRecordDecl *getPreviousDecl() { in getPreviousDecl() function 532 static_cast<RecordDecl *>(this)->getPreviousDecl()); in getPreviousDecl() 535 const CXXRecordDecl *getPreviousDecl() const { in getPreviousDecl() function 536 return const_cast<CXXRecordDecl*>(this)->getPreviousDecl(); in getPreviousDecl() 552 assert(Recent->getPreviousDecl()); in getMostRecentNonInjectedDecl() 553 Recent = Recent->getPreviousDecl(); in getMostRecentNonInjectedDecl() 3241 using redeclarable_base::getPreviousDecl; 3409 return getPreviousDecl(); in getPreviousDeclImpl() 3441 using redeclarable_base::getPreviousDecl;
|
| H A D | DeclBase.h | 1058 Decl *getPreviousDecl() { return getPreviousDeclImpl(); } in getPreviousDecl() function 1062 const Decl *getPreviousDecl() const { in getPreviousDecl() function 1068 return getPreviousDecl() == nullptr; in isFirstDecl() 1149 Decl *Prev = getPreviousDecl(); in setLocalExternDecl() 1188 Decl *Prev = getPreviousDecl();
|
| H A D | DeclObjC.h | 1267 return getPreviousDecl(); in getPreviousDeclImpl() 1907 using redeclarable_base::getPreviousDecl; 2124 return getPreviousDecl(); in getPreviousDeclImpl() 2289 using redeclarable_base::getPreviousDecl;
|
| H A D | JSONNodeDumper.h | 179 const T *Prev = D->getPreviousDecl(); in writePreviousDeclImpl()
|
| H A D | TypeProperties.td | 614 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) { 623 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Program.cpp | 121 for (const Decl *P = VD->getPreviousDecl(); P; P = P->getPreviousDecl()) { in getGlobal() 221 for (const Decl *P = VD; P; P = P->getPreviousDecl()) { in createGlobal()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 648 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() 658 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() 659 PrevVar = PrevVar->getPreviousDecl()) { in getLVForNamespaceScopeDecl() 1259 TD = TD->getPreviousDecl(); in getExplicitVisibilityAux() 1392 if (const VarDecl *Prev = Var->getPreviousDecl()) { in getLVForLocalDecl() 2353 Decl = Decl->getPreviousDecl()) { in getActingDefinition() 3833 FD = FD->getPreviousDecl()) in isMSExternInline() 3844 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD; in redeclForcesDefMSVC() 3845 FD = FD->getPreviousDecl()) in redeclForcesDefMSVC() 3901 while ((Prev = Prev->getPreviousDecl())) { in doesDeclarationForceExternallyVisibleDefinition() [all …]
|
| H A D | ASTDumper.cpp | 91 if (Decl *Prev = D->getPreviousDecl()) in dumpLookups()
|
| H A D | DeclTemplate.cpp | 328 for (const RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev; in getCommonPtr() 329 Prev = Prev->getPreviousDecl()) { in getCommonPtr() 502 for (; Prev; Prev = Prev->getPreviousDecl()) { in mergePrevDecl() 1288 CurD = CurD->getPreviousDecl(); in getDefinition()
|
| H A D | DeclCXX.cpp | 927 if (Primary->getPreviousDecl()) in addedMember() 928 Conversions.replace(cast<NamedDecl>(Primary->getPreviousDecl()), in addedMember() 3257 return getPreviousDecl(); in getPreviousDeclImpl() 3271 return getPreviousDecl(); in getPreviousDeclImpl()
|
| H A D | APValue.cpp | 74 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) { in getType()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAccess.cpp | 1126 PrevDecl = VD->getPreviousDecl(); in diagnoseBadDirectAccess() 1128 PrevDecl = FD->getPreviousDecl(); in diagnoseBadDirectAccess() 1130 PrevDecl = TND->getPreviousDecl(); in diagnoseBadDirectAccess() 1135 PrevDecl = TD->getPreviousDecl(); in diagnoseBadDirectAccess()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 996 DeclT *Result = D->getPreviousDecl(); in getPreviousDeclForInstantiation() 2963 if (isFriend && TemplateParams && FunctionTemplate->getPreviousDecl()) { in VisitFunctionDecl() 2966 FunctionTemplate->getPreviousDecl()->getTemplateParameters(), in VisitFunctionDecl() 3000 (Function->isLocalExternDecl() && !Function->getPreviousDecl())) in VisitFunctionDecl() 3352 if (isFriend && Method->getPreviousDecl()) in VisitCXXMethodDecl() 3353 Method->setAccess(Method->getPreviousDecl()->getAccess()); in VisitCXXMethodDecl() 3404 if (!D->getPreviousDecl()) in VisitCXXMethodDecl() 5608 D = D->getPreviousDecl()) { in InstantiateFunctionDefinition() 6022 if (NewVar->isLocalExternDecl() && OldVar->getPreviousDecl() && in BuildVariableInstantiation() 6023 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation() [all …]
|
| H A D | SemaSYCL.cpp | 284 FunctionDecl *PrevFD = FD->getPreviousDecl(); in CheckSYCLEntryPointFunctionDecl()
|
| H A D | SemaDecl.cpp | 4465 PrevVD = PrevVD->getPreviousDecl()) { in MergeVarDeclTypes() 4618 for (auto *D = Old; D; D = D->getPreviousDecl()) { in MergeVarDecl() 6137 if (D->getPreviousDecl() || D->isImplicit()) in warnOnReservedIdentifier() 8194 NewVD->getPreviousDecl() in ActOnVariableDeclarator() 8195 ? NewVD->getPreviousDecl()->getDescribedVarTemplate() in ActOnVariableDeclarator() 10717 if (isFriend && NewFD->getPreviousDecl()) { in ActOnFunctionDeclarator() 10720 Access = NewFD->getPreviousDecl()->getAccess(); in ActOnFunctionDeclarator() 10734 FunctionTemplate->getPreviousDecl(); in ActOnFunctionDeclarator() 11505 for (const Decl *D = FD->getPreviousDecl(); D; D = D->getPreviousDecl()) { in PreviousDeclsHaveMultiVersionAttribute() 13191 if (VarDecl *Old = VDecl->getPreviousDecl()) { in DeduceVariableDeclarationType() [all …]
|
| H A D | SemaTemplate.cpp | 1811 D->getPreviousDecl()) in GetTemplateParameterList() 1812 D = D->getPreviousDecl(); in GetTemplateParameterList() 4391 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnVarTemplateSpecialization() 8775 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnClassTemplateSpecialization() 9066 Prev = Prev->getPreviousDecl()) { in DiagLocForExplicitInstantiation() 9123 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 9208 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 10284 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl()); in ActOnExplicitInstantiation() 10719 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); in ActOnExplicitInstantiation()
|
| H A D | SemaLookup.cpp | 459 for (const Decl *Prev = DUnderlying->getPreviousDecl(); Prev; in isPreferredLookupResult() 460 Prev = Prev->getPreviousDecl()) in isPreferredLookupResult() 3857 Cursor = Cursor->getPreviousDecl(); in insert() 3926 D = cast_or_null<NamedDecl>(D->getPreviousDecl())) { in ArgumentDependentLookup()
|
| H A D | SemaAvailability.cpp | 444 Redecl = Redecl->getPreviousDecl()) { in DoEmitAvailabilityWarning()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ForwardDeclChecker.cpp | 132 for (S = S->getMostRecentDecl(); S; S = S->getPreviousDecl()) { in isUnknownType()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | CodeCompletion.cpp | 301 DeclCtxt = DeclCtxt->getPreviousDecl()) { in completeVisibleDeclsMap()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 204 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in CollectFirstDeclFromEachModule() 1415 assert(D->getPreviousDecl() == nullptr && "PARM_VAR_DECL can't be redecl"); in VisitParmVarDecl() 1989 if (D->getPreviousDecl() == nullptr) { in VisitClassTemplatePartialSpecializationDecl() 2058 if (D->getPreviousDecl() == nullptr) { in VisitVarTemplatePartialSpecializationDecl() 2221 for (const Decl *Redecl = D; Redecl; Redecl = Redecl->getPreviousDecl()) in getFirstLocalDecl() 2257 Prev != FirstLocal; Prev = Prev->getPreviousDecl()) in VisitRedeclarable() 2278 (void)Writer.GetDeclRef(D->getPreviousDecl()); in VisitRedeclarable()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 454 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration() 456 Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl(); in ParseLexedMethodDeclaration()
|