| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 724 return getPreviousDecl(); in getPreviousDeclImpl() 930 using redeclarable_base::getPreviousDecl; 1029 FunctionTemplateDecl *getPreviousDecl() { 1031 static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 1033 const FunctionTemplateDecl *getPreviousDecl() const { 1035 static_cast<const RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 2325 ClassTemplateDecl *getPreviousDecl() { 2327 static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 2329 const ClassTemplateDecl *getPreviousDecl() const { 2332 this)->getPreviousDecl()); [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; 1087 return getPreviousDecl(); in getPreviousDeclImpl() 1101 using redeclarable_base::getPreviousDecl; 2099 return getPreviousDecl(); in getPreviousDeclImpl() 2116 using redeclarable_base::getPreviousDecl; 3433 return getPreviousDecl(); in getPreviousDeclImpl() 3447 using redeclarable_base::getPreviousDecl; 3599 return getPreviousDecl(); in getPreviousDeclImpl() [all …]
|
| 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() 3178 using redeclarable_base::getPreviousDecl; 3346 return getPreviousDecl(); in getPreviousDeclImpl() 3378 using redeclarable_base::getPreviousDecl;
|
| H A D | DeclBase.h | 1050 Decl *getPreviousDecl() { return getPreviousDeclImpl(); } in getPreviousDecl() function 1054 const Decl *getPreviousDecl() const { in getPreviousDecl() function 1060 return getPreviousDecl() == nullptr; in isFirstDecl() 1141 Decl *Prev = getPreviousDecl(); in setLocalExternDecl() 1180 Decl *Prev = getPreviousDecl();
|
| H A D | DeclObjC.h | 1269 return getPreviousDecl(); in getPreviousDeclImpl() 1908 using redeclarable_base::getPreviousDecl; 2125 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 | 622 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) { 631 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
|
| /freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 115 for (const Decl *P = VD->getPreviousDecl(); P; P = P->getPreviousDecl()) { in getGlobal() 197 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() 1253 TD = TD->getPreviousDecl(); in getExplicitVisibilityAux() 1386 if (const VarDecl *Prev = Var->getPreviousDecl()) { in getLVForLocalDecl() 2336 Decl = Decl->getPreviousDecl()) { in getActingDefinition() 3758 FD = FD->getPreviousDecl()) in isMSExternInline() 3769 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD; in redeclForcesDefMSVC() 3770 FD = FD->getPreviousDecl()) in redeclForcesDefMSVC() 3826 while ((Prev = Prev->getPreviousDecl())) { in doesDeclarationForceExternallyVisibleDefinition() [all …]
|
| H A D | ASTDumper.cpp | 92 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() 467 for (; Prev; Prev = Prev->getPreviousDecl()) { in mergePrevDecl() 1243 CurD = CurD->getPreviousDecl(); in getDefinition()
|
| H A D | DeclCXX.cpp | 920 if (Primary->getPreviousDecl()) in addedMember() 921 Conversions.replace(cast<NamedDecl>(Primary->getPreviousDecl()), in addedMember() 3032 return getPreviousDecl(); in getPreviousDeclImpl() 3046 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 | 1128 PrevDecl = VD->getPreviousDecl(); in diagnoseBadDirectAccess() 1130 PrevDecl = FD->getPreviousDecl(); in diagnoseBadDirectAccess() 1132 PrevDecl = TND->getPreviousDecl(); in diagnoseBadDirectAccess() 1136 PrevDecl = TD->getPreviousDecl(); in diagnoseBadDirectAccess()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 928 DeclT *Result = D->getPreviousDecl(); in getPreviousDeclForInstantiation() 2416 if (isFriend && TemplateParams && FunctionTemplate->getPreviousDecl()) { in VisitFunctionDecl() 2419 FunctionTemplate->getPreviousDecl()->getTemplateParameters(), in VisitFunctionDecl() 2454 (Function->isLocalExternDecl() && !Function->getPreviousDecl())) in VisitFunctionDecl() 2807 if (isFriend && Method->getPreviousDecl()) in VisitCXXMethodDecl() 2808 Method->setAccess(Method->getPreviousDecl()->getAccess()); in VisitCXXMethodDecl() 2859 if (!D->getPreviousDecl()) in VisitCXXMethodDecl() 5027 D = D->getPreviousDecl()) { in InstantiateFunctionDefinition() 5347 if (NewVar->isLocalExternDecl() && OldVar->getPreviousDecl() && in BuildVariableInstantiation() 5348 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation() [all …]
|
| H A D | SemaTemplate.cpp | 1789 D->getPreviousDecl()) in GetTemplateParameterList() 1790 D = D->getPreviousDecl(); in GetTemplateParameterList() 4098 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnVarTemplateSpecialization() 8335 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnClassTemplateSpecialization() 8577 Prev = Prev->getPreviousDecl()) { in DiagLocForExplicitInstantiation() 8635 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 8720 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 9754 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl()); in ActOnExplicitInstantiation() 10151 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); in ActOnExplicitInstantiation()
|
| H A D | SemaDecl.cpp | 4371 PrevVD = PrevVD->getPreviousDecl()) { in MergeVarDeclTypes() 4524 for (auto *D = Old; D; D = D->getPreviousDecl()) { in MergeVarDecl() 6023 if (D->getPreviousDecl() || D->isImplicit()) in warnOnReservedIdentifier() 8004 NewVD->getPreviousDecl() in ActOnVariableDeclarator() 8005 ? NewVD->getPreviousDecl()->getDescribedVarTemplate() in ActOnVariableDeclarator() 10498 if (isFriend && NewFD->getPreviousDecl()) { in ActOnFunctionDeclarator() 10501 Access = NewFD->getPreviousDecl()->getAccess(); in ActOnFunctionDeclarator() 10515 FunctionTemplate->getPreviousDecl(); in ActOnFunctionDeclarator() 11274 for (const Decl *D = FD->getPreviousDecl(); D; D = D->getPreviousDecl()) { in PreviousDeclsHaveMultiVersionAttribute() 12962 if (VarDecl *Old = VDecl->getPreviousDecl()) { in DeduceVariableDeclarationType() [all …]
|
| H A D | SemaLookup.cpp | 457 for (const Decl *Prev = DUnderlying->getPreviousDecl(); Prev; in isPreferredLookupResult() 458 Prev = Prev->getPreviousDecl()) in isPreferredLookupResult() 3763 Cursor = Cursor->getPreviousDecl(); in insert() 3832 D = cast_or_null<NamedDecl>(D->getPreviousDecl())) { in ArgumentDependentLookup()
|
| H A D | SemaAvailability.cpp | 425 Redecl = Redecl->getPreviousDecl()) { in DoEmitAvailabilityWarning()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | CodeCompletion.cpp | 299 DeclCtxt = DeclCtxt->getPreviousDecl()) { in completeVisibleDeclsMap()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 187 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule() 1251 assert(D->getPreviousDecl() == nullptr && "PARM_VAR_DECL can't be redecl"); in VisitParmVarDecl() 1791 if (D->getPreviousDecl() == nullptr) { in VisitClassTemplatePartialSpecializationDecl() 1860 if (D->getPreviousDecl() == nullptr) { in VisitVarTemplatePartialSpecializationDecl() 2025 for (const Decl *Redecl = D; Redecl; Redecl = Redecl->getPreviousDecl()) in getFirstLocalDecl() 2061 Prev != FirstLocal; Prev = Prev->getPreviousDecl()) in VisitRedeclarable() 2082 (void)Writer.GetDeclRef(D->getPreviousDecl()); in VisitRedeclarable()
|
| H A D | ASTReaderDecl.cpp | 496 Current = Current->getPreviousDecl(); in operator ++() 3580 for (VarDecl *CurD = PrevVD; CurD; CurD = CurD->getPreviousDecl()) { in attachPreviousDeclImpl() 4518 Redecl = Redecl->getPreviousDecl()) in forAllLaterRedecls() 4524 Redecl = Redecl->getPreviousDecl()) in forAllLaterRedecls()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 472 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration() 474 Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl(); in ParseLexedMethodDeclaration()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1454 for (const FunctionDecl *PD = FD->getPreviousDecl(); PD; in GenerateCode() 1455 PD = PD->getPreviousDecl()) { in GenerateCode()
|