Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h762 return getMostRecentDecl(); in getMostRecentDeclImpl()
948 using redeclarable_base::getMostRecentDecl;
1064 FunctionTemplateDecl *getMostRecentDecl() {
1067 ->getMostRecentDecl());
2124 this)->getMostRecentDecl());
2341 ClassTemplateDecl *getMostRecentDecl() {
2345 const ClassTemplateDecl *getMostRecentDecl() const {
2741 VarTemplateSpecializationDecl *getMostRecentDecl() {
2969 this)->getMostRecentDecl());
3169 VarTemplateDecl *getMostRecentDecl() {
[all …]
H A DDecl.h96 return getMostRecentDecl(); in getMostRecentDeclImpl()
113 using redeclarable_base::getMostRecentDecl;
473 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
476 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
586 using redeclarable_base::getMostRecentDecl;
1058 return getMostRecentDecl(); in getMostRecentDeclImpl()
2005 return getMostRecentDecl(); in getMostRecentDeclImpl()
3199 return getMostRecentDecl(); in getMostRecentDeclImpl()
3363 return getMostRecentDecl(); in getMostRecentDeclImpl()
3673 EnumDecl *getMostRecentDecl() { in getMostRecentDecl() function
[all …]
H A DDeclCXX.h429 getMostRecentDecl(); in dataPtr()
511 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function
513 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
516 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function
517 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
522 static_cast<CXXRecordDecl *>(this)->getMostRecentDecl(); in getMostRecentNonInjectedDecl()
2041 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function
2045 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function
3038 using redeclarable_base::getMostRecentDecl;
3209 return getMostRecentDecl(); in getMostRecentDeclImpl()
[all …]
H A DRedeclarable.h226 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
231 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
H A DDeclObjC.h1257 return getMostRecentDecl(); in getMostRecentDeclImpl()
1517 getMostRecentDecl(); in hasDefinition()
1887 using redeclarable_base::getMostRecentDecl;
2081 return getMostRecentDecl(); in getMostRecentDeclImpl()
2188 getMostRecentDecl(); in hasDefinition()
2230 using redeclarable_base::getMostRecentDecl;
H A DDeclBase.h999 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
1003 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
H A DASTContext.h1028 return TUDecl->getMostRecentDecl(); in getTranslationUnitDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp286 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl()
307 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl()
563 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
572 return P.getMostRecentDecl(); in findPartialSpecialization()
584 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
1237 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
1246 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
H A DDeclBase.cpp450 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed()
455 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed()
722 for (const auto *A : getMostRecentDecl()->attrs()) { in isWeakImported()
1291 for (T *D = Self->getMostRecentDecl(); D; D = D->getPreviousDecl()) in collectAllContextsImpl()
1650 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
H A DTemplateName.cpp165 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
H A DDecl.cpp1132 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
1164 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
3398 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
4821 auto *MostRecent = getMostRecentDecl(); in isWeak()
H A DASTImporter.cpp2745 PrevDecl = FoundEnum->getMostRecentDecl(); in VisitEnumDecl()
2894 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl()
3531 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl()
4128 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl()
5577 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl()
5591 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl()
5872 const_cast<VarTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarTemplateDecl()
5875 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitVarTemplateDecl()
6120 const_cast<FunctionTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitFunctionTemplateDecl()
6125 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitFunctionTemplateDecl()
H A DAPValue.cpp73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
H A DDeclCXX.cpp2900 return getMostRecentDecl(); in getMostRecentDeclImpl()
2914 return getMostRecentDecl(); in getMostRecentDeclImpl()
H A DDeclObjC.cpp321 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp697 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
719 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
749 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
802 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed()
813 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed()
876 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
881 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
H A DIdentifierResolver.cpp279 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
H A DSemaAvailability.cpp343 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; in DoEmitAvailabilityWarning()
H A DSemaTemplateInstantiateDecl.cpp1578 = PrevClassTemplate->getMostRecentDecl()->getTemplateParameters(); in VisitClassTemplateDecl()
4911 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition()
6321 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
6326 switch (Var->getMostRecentDecl() in PerformPendingInstantiations()
6336 if (Var != Var->getMostRecentDecl()) in PerformPendingInstantiations()
H A DSemaTemplate.cpp1947 ? PrevClassTemplate->getMostRecentDecl()->getTemplateParameters() in CheckClassTemplate()
5618 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument()
5667 cast<TemplateDecl>(Template->getMostRecentDecl()) in CheckTemplateArgumentList()
11054 diagnose(Spec->getMostRecentDecl(), false); in checkImpl()
11100 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
H A DSemaLambda.cpp302 else if (Var->getMostRecentDecl()->isInline()) in getCurrentMangleNumberContext()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp182 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule()
392 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
460 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
497 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
1068 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
1247 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1397 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl()
1801 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable()
1827 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
H A DASTReaderDecl.cpp282 static Decl *getMostRecentDecl(Decl *D);
479 Current = Current->getMostRecentDecl(); in operator ++()
3548 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader
3562 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl()
4267 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
4441 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp380 FD = FD->getMostRecentDecl(); in translateCallExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp1326 ->getMostRecentDecl(); in UpdateMultiVersionNames()
1952 FD = FD ? FD->getMostRecentDecl() : FD; in GetCPUAndFeaturesAttributes()
3654 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction()

12