| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 776 return getMostRecentDecl(); in getMostRecentDeclImpl() 808 return SETraits::getDecl(&*this->I)->getMostRecentDecl(); 979 using redeclarable_base::getMostRecentDecl; 1086 FunctionTemplateDecl *getMostRecentDecl() { 1089 ->getMostRecentDecl()); 1091 const FunctionTemplateDecl *getMostRecentDecl() const { 1092 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl(); 1904 ClassTemplateSpecializationDecl *getMostRecentDecl() { 2148 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() { 2151 this)->getMostRecentDecl()); [all …]
|
| H A D | Decl.h | 94 return getMostRecentDecl(); in getMostRecentDeclImpl() 111 using redeclarable_base::getMostRecentDecl; 473 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function 474 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 476 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function 477 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() 590 using redeclarable_base::getMostRecentDecl; 1102 return getMostRecentDecl(); in getMostRecentDeclImpl() 1113 using redeclarable_base::getMostRecentDecl; 2077 return getMostRecentDecl(); in getMostRecentDeclImpl() [all …]
|
| H A D | DeclCXX.h | 442 getMostRecentDecl(); in dataPtr() 524 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function 526 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 529 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function 530 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() 535 static_cast<CXXRecordDecl *>(this)->getMostRecentDecl(); in getMostRecentNonInjectedDecl() 2087 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function 2089 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 2091 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function 2092 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() [all …]
|
| H A D | Redeclarable.h | 226 decl_type *getMostRecentDecl() { in getMostRecentDecl() function 231 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
|
| H A D | DeclObjC.h | 1262 return getMostRecentDecl(); in getMostRecentDeclImpl() 1522 getMostRecentDecl(); in hasDefinition() 1898 using redeclarable_base::getMostRecentDecl; 2115 return getMostRecentDecl(); in getMostRecentDeclImpl() 2227 getMostRecentDecl(); in hasDefinition() 2276 using redeclarable_base::getMostRecentDecl;
|
| H A D | DeclBase.h | 1041 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function 1045 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
|
| H A D | ASTContext.h | 1060 return TUDecl->getMostRecentDecl(); in getTranslationUnitDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 304 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl() 325 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl() 586 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 595 return P.getMostRecentDecl(); in findPartialSpecialization() 607 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember() 1318 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 1327 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
|
| H A D | DeclBase.cpp | 464 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed() 469 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed() 736 for (const auto *A : getMostRecentDecl()->attrs()) { in isWeakImported() 1344 for (T *D = Self->getMostRecentDecl(); D; D = D->getPreviousDecl()) in collectAllContextsImpl() 1707 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
|
| H A D | TemplateName.cpp | 226 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
|
| H A D | Decl.cpp | 1184 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux() 1216 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux() 2290 for (VarDecl *Decl = getMostRecentDecl(); Decl; in getActingDefinition() 3540 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline() 5046 auto *MostRecent = getMostRecentDecl(); in isWeak()
|
| H A D | ASTImporter.cpp | 2725 PrevDecl = FoundEnum->getMostRecentDecl(); in VisitEnumDecl() 2874 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl() 3684 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl() 4288 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl() 5798 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl() 5812 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl() 6112 const_cast<VarTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarTemplateDecl() 6115 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitVarTemplateDecl() 6366 const_cast<FunctionTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitFunctionTemplateDecl() 6371 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitFunctionTemplateDecl()
|
| H A D | APValue.cpp | 73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
|
| H A D | DeclCXX.cpp | 2951 return getMostRecentDecl(); in getMostRecentDeclImpl() 2965 return getMostRecentDecl(); in getMostRecentDeclImpl()
|
| H A D | DeclObjC.cpp | 333 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | Sema.cpp | 721 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused() 743 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused() 773 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused() 826 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed() 837 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed() 900 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed() 905 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
|
| H A D | IdentifierResolver.cpp | 285 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
|
| H A D | SemaAvailability.cpp | 347 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; in DoEmitAvailabilityWarning()
|
| H A D | SemaTemplate.cpp | 1701 CheckingRD = CheckingRD->getMostRecentDecl(); in CheckIfContainingRecord() 1706 if (CheckingRD == RD->getMostRecentDecl()) in CheckIfContainingRecord() 2046 ? PrevClassTemplate->getMostRecentDecl()->getTemplateParameters() in CheckClassTemplate() 5793 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument() 5843 cast<TemplateDecl>(Template->getMostRecentDecl()) in CheckTemplateArgumentList() 5985 (Template->getMostRecentDecl()->getKind() != Decl::Kind::Concept) && in CheckTemplateArgumentList() 11432 diagnose(Spec->getMostRecentDecl(), false); in checkImpl() 11478 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1643 PrevClassTemplate->getMostRecentDecl(); in VisitClassTemplateDecl() 4939 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition() 6364 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations() 6369 switch (Var->getMostRecentDecl() in PerformPendingInstantiations() 6379 if (Var != Var->getMostRecentDecl()) in PerformPendingInstantiations()
|
| H A D | SemaLambda.cpp | 303 else if (Var->getMostRecentDecl()->isInline()) in getCurrentMangleNumberContext()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 186 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule() 396 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 464 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 505 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1091 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1277 D == D->getMostRecentDecl()) { in VisitNamespaceDecl() 1427 D->getFirstDecl() == D->getMostRecentDecl() && !D->isInvalidDecl() && in VisitCXXMethodDecl() 1839 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable() 1865 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
|
| H A D | ASTReaderDecl.cpp | 283 static Decl *getMostRecentDecl(Decl *D); 486 Current = Current->getMostRecentDecl(); in operator ++() 3377 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader 3391 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl() 4115 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain() 4289 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 171 VD = VD->getMostRecentDecl(); in isEmittedWithConstantInitializer()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 417 FD = FD->getMostRecentDecl(); in translateCallExpr()
|