| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 726 return getMostRecentDecl(); in getMostRecentDeclImpl() 759 return SETraits::getDecl(&*this->I)->getMostRecentDecl(); 925 using redeclarable_base::getMostRecentDecl; 1052 FunctionTemplateDecl *getMostRecentDecl() { 1055 ->getMostRecentDecl()); 1057 const FunctionTemplateDecl *getMostRecentDecl() const { 1058 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl(); 1888 ClassTemplateSpecializationDecl *getMostRecentDecl() { 2134 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() { 2137 this)->getMostRecentDecl()); [all …]
|
| H A D | Decl.h | 116 return getMostRecentDecl(); in getMostRecentDeclImpl() 133 using redeclarable_base::getMostRecentDecl; 500 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function 501 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 503 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function 504 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() 610 using redeclarable_base::getMostRecentDecl; 1122 return getMostRecentDecl(); in getMostRecentDeclImpl() 1133 using redeclarable_base::getMostRecentDecl; 2150 return getMostRecentDecl(); in getMostRecentDeclImpl() [all …]
|
| H A D | Redeclarable.h | 223 decl_type *getMostRecentDecl() { in getMostRecentDecl() function 228 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
|
| H A D | DeclCXX.h | 457 getMostRecentDecl(); in dataPtr() 539 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function 541 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 544 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function 545 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() 549 CXXRecordDecl *Recent = getMostRecentDecl(); in getMostRecentNonInjectedDecl() 2227 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function 2229 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 2231 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function 2232 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() [all …]
|
| H A D | DeclObjC.h | 1271 return getMostRecentDecl(); in getMostRecentDeclImpl() 1531 getMostRecentDecl(); in hasDefinition() 1908 using redeclarable_base::getMostRecentDecl; 2128 return getMostRecentDecl(); in getMostRecentDeclImpl() 2241 getMostRecentDecl(); in hasDefinition() 2290 using redeclarable_base::getMostRecentDecl;
|
| H A D | DeclBase.h | 1073 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function 1077 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 389 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationLocally() 625 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 634 return P.getMostRecentDecl(); in findPartialSpecialization() 646 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember() 1385 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 1394 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
|
| H A D | DeclBase.cpp | 565 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed() 570 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed() 858 for (const auto *A : getMostRecentDecl()->attrs()) { in isWeakImported() 1546 for (T *D = Self->getMostRecentDecl(); D; D = D->getPreviousDecl()) in collectAllContextsImpl() 1916 (void)cast<Decl>(this)->getMostRecentDecl(); in lookupImpl()
|
| H A D | Decl.cpp | 1234 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux() 1266 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux() 2352 for (VarDecl *Decl = getMostRecentDecl(); Decl; in getActingDefinition() 3832 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline() 5465 auto *MostRecent = getMostRecentDecl(); in isWeak()
|
| H A D | ASTImporter.cpp | 3226 PrevDecl = FoundEnum->getMostRecentDecl(); in VisitEnumDecl() 3385 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl() 4237 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl() 4860 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl() 6405 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl() 6419 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl() 6730 const_cast<VarTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarTemplateDecl() 6733 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitVarTemplateDecl() 6897 D2->setPreviousDecl(FoundSpecialization->getMostRecentDecl()); in VisitVarTemplateSpecializationDecl() 7008 const_cast<FunctionTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitFunctionTemplateDecl() [all …]
|
| H A D | APValue.cpp | 73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
|
| /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() 622 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 701 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 743 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1355 !D->hasExtInfo() && D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1557 D == D->getMostRecentDecl()) { in VisitNamespaceDecl() 1621 D->getFirstDecl() == D->getMostRecentDecl() && !D->hasAttrs() && in VisitUsingShadowDecl() 1740 D->getFirstDecl() == D->getMostRecentDecl() && !D->isInvalidDecl() && in VisitCXXMethodDecl() 2230 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable() 2256 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
|
| H A D | ASTReaderDecl.cpp | 282 static Decl *getMostRecentDecl(Decl *D); 476 Current = Current->getMostRecentDecl(); in operator ++() 3569 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader 3583 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl() 4488 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain() 4660 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Sema.cpp | 868 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused() 890 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused() 920 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused() 973 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed() 984 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed() 1048 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed() 1053 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
|
| H A D | SemaOpenACCClause.cpp | 1855 return Expr1DRE->getDecl()->getMostRecentDecl() == in areVarsEqual() 1856 Expr2DRE->getDecl()->getMostRecentDecl(); in areVarsEqual()
|
| H A D | SemaTemplate.cpp | 1683 CheckingRD = CheckingRD->getMostRecentDecl(); in CheckIfContainingRecord() 1690 if (CheckingRD == RD->getMostRecentDecl()) in CheckIfContainingRecord() 1793 Decl *D = TD->getMostRecentDecl(); in GetTemplateParameterList() 4573 if (Template->getMostRecentDecl()->isMemberSpecialization() && in CheckVarTemplateId() 4574 !Partial->getMostRecentDecl()->isMemberSpecialization()) in CheckVarTemplateId() 5640 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument() 5872 (Template->getMostRecentDecl()->getKind() != Decl::Kind::Concept) && in CheckTemplateArgumentList() 11504 diagnose(Spec->getMostRecentDecl(), false); in checkImpl() 11550 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
|
| H A D | SemaTemplateInstantiate.cpp | 3990 if (CTD->getMostRecentDecl()->isMemberSpecialization() && in usesPartialOrExplicitSpecialization() 3991 !CTPSD->getMostRecentDecl()->isMemberSpecialization()) in usesPartialOrExplicitSpecialization() 4048 if (Template->getMostRecentDecl()->isMemberSpecialization() && in getPatternForClassTemplateSpecialization() 4049 !Partial->getMostRecentDecl()->isMemberSpecialization()) in getPatternForClassTemplateSpecialization()
|
| H A D | SemaOpenACC.cpp | 2409 while (FD != FD->getMostRecentDecl()) { in CheckRoutineDecl() 2410 FD = FD->getMostRecentDecl(); in CheckRoutineDecl()
|
| H A D | SemaAvailability.cpp | 443 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; 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()
|
| H A D | PtrTypesSemantics.cpp | 257 for (auto *Redecl : RT->getDecl()->getMostRecentDecl()->redecls()) { in visitTypedef()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 176 VD = VD->getMostRecentDecl(); in isEmittedWithConstantInitializer()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Context.cpp | 405 FuncDecl = FuncDecl->getMostRecentDecl(); in getOrCreateFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | XCore.cpp | 321 const Decl *D = Val.first.getDecl()->getMostRecentDecl(); in emitTargetMetadata()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprConstant.cpp | 447 d = cast<ValueDecl>(d->getMostRecentDecl()); in tryEmitBase()
|