Home
last modified time | relevance | path

Searched refs:getMostRecentDecl (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h748 return getMostRecentDecl(); in getMostRecentDeclImpl()
951 using redeclarable_base::getMostRecentDecl;
1058 FunctionTemplateDecl *getMostRecentDecl() {
1061 ->getMostRecentDecl());
2120 this)->getMostRecentDecl());
2343 ClassTemplateDecl *getMostRecentDecl() {
2347 const ClassTemplateDecl *getMostRecentDecl() const {
2680 VarTemplateSpecializationDecl *getMostRecentDecl() {
2911 this)->getMostRecentDecl());
3113 VarTemplateDecl *getMostRecentDecl() {
[all …]
H A DDecl.h96 return getMostRecentDecl(); in getMostRecentDeclImpl()
113 using redeclarable_base::getMostRecentDecl;
476 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
479 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
593 using redeclarable_base::getMostRecentDecl;
1127 return getMostRecentDecl(); in getMostRecentDeclImpl()
2117 return getMostRecentDecl(); in getMostRecentDeclImpl()
3423 return getMostRecentDecl(); in getMostRecentDeclImpl()
3587 return getMostRecentDecl(); in getMostRecentDeclImpl()
3920 EnumDecl *getMostRecentDecl() { in getMostRecentDecl() function
[all …]
H A DRedeclarable.h226 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
231 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
H A DDeclCXX.h458 getMostRecentDecl(); in dataPtr()
540 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function
542 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
545 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function
546 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
551 static_cast<CXXRecordDecl *>(this)->getMostRecentDecl(); in getMostRecentNonInjectedDecl()
2156 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function
2160 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function
3165 using redeclarable_base::getMostRecentDecl;
3336 return getMostRecentDecl(); in getMostRecentDeclImpl()
[all …]
H A DDeclObjC.h1270 return getMostRecentDecl(); in getMostRecentDeclImpl()
1530 getMostRecentDecl(); in hasDefinition()
1906 using redeclarable_base::getMostRecentDecl;
2126 return getMostRecentDecl(); in getMostRecentDeclImpl()
2238 getMostRecentDecl(); in hasDefinition()
2287 using redeclarable_base::getMostRecentDecl;
H A DDeclBase.h1076 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
1080 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp337 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl()
358 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl()
585 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
594 return P.getMostRecentDecl(); in findPartialSpecialization()
606 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
1301 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
1310 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
H A DDeclBase.cpp537 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed()
542 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed()
809 for (const auto *A : getMostRecentDecl()->attrs()) { in isWeakImported()
1435 for (T *D = Self->getMostRecentDecl(); D; D = D->getPreviousDecl()) in collectAllContextsImpl()
1798 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
H A DTemplateName.cpp226 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
H A DDecl.cpp1228 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
1260 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
2350 for (VarDecl *Decl = getMostRecentDecl(); Decl; in getActingDefinition()
3707 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
5296 auto *MostRecent = getMostRecentDecl(); in isWeak()
H A DASTImporter.cpp2908 PrevDecl = FoundEnum->getMostRecentDecl(); in VisitEnumDecl()
3061 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl()
3898 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl()
4503 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl()
6035 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl()
6049 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl()
6361 const_cast<VarTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarTemplateDecl()
6364 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitVarTemplateDecl()
6615 const_cast<FunctionTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitFunctionTemplateDecl()
6620 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitFunctionTemplateDecl()
H A DAPValue.cpp73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
H A DDeclCXX.cpp3005 return getMostRecentDecl(); in getMostRecentDeclImpl()
3019 return getMostRecentDecl(); in getMostRecentDeclImpl()
H A DDeclObjC.cpp333 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp184 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule()
430 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
513 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
554 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
1154 !D->hasExtInfo() && D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
1345 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1408 D->getFirstDecl() == D->getMostRecentDecl() && !D->hasAttrs() && in VisitUsingShadowDecl()
1514 D->getFirstDecl() == D->getMostRecentDecl() && !D->isInvalidDecl() && in VisitCXXMethodDecl()
1951 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable()
1977 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
H A DASTReaderDecl.cpp295 static Decl *getMostRecentDecl(Decl *D);
499 Current = Current->getMostRecentDecl(); in operator ++()
3545 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader
3559 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl()
4280 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
4453 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp735 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
757 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
787 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
840 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed()
851 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed()
915 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
920 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
H A DIdentifierResolver.cpp293 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
H A DSemaAvailability.cpp359 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; in DoEmitAvailabilityWarning()
H A DSemaTemplateInstantiateDecl.cpp1710 PrevClassTemplate->getMostRecentDecl(); in VisitClassTemplateDecl()
5033 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition()
6466 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
6471 switch (Var->getMostRecentDecl() in PerformPendingInstantiations()
6481 if (Var != Var->getMostRecentDecl()) in PerformPendingInstantiations()
H A DSemaTemplate.cpp1714 CheckingRD = CheckingRD->getMostRecentDecl(); in CheckIfContainingRecord()
1721 if (CheckingRD == RD->getMostRecentDecl()) in CheckIfContainingRecord()
1833 Decl *D = TD->getMostRecentDecl(); in GetTemplateParameterList()
5970 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument()
6160 (Template->getMostRecentDecl()->getKind() != Decl::Kind::Concept) && in CheckTemplateArgumentList()
11739 diagnose(Spec->getMostRecentDecl(), false); in checkImpl()
11785 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
H A DSemaLambda.cpp305 if (Var->getMostRecentDecl()->isInline()) in getCurrentMangleNumberContext()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.cpp168 VD = VD->getMostRecentDecl(); in isEmittedWithConstantInitializer()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DXCore.cpp321 const Decl *D = Val.first.getDecl()->getMostRecentDecl(); in emitTargetMetadata()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp425 FD = FD->getMostRecentDecl(); in translateCallExpr()

12