| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 776 return getMostRecentDecl(); in getMostRecentDeclImpl() 962 using redeclarable_base::getMostRecentDecl; 1078 FunctionTemplateDecl *getMostRecentDecl() { 1081 ->getMostRecentDecl()); 2154 this)->getMostRecentDecl()); 2371 ClassTemplateDecl *getMostRecentDecl() { 2375 const ClassTemplateDecl *getMostRecentDecl() const { 2771 VarTemplateSpecializationDecl *getMostRecentDecl() { 3000 this)->getMostRecentDecl()); 3200 VarTemplateDecl *getMostRecentDecl() { [all …]
|
| H A D | Decl.h | 94 return getMostRecentDecl(); in getMostRecentDeclImpl() 111 using redeclarable_base::getMostRecentDecl; 471 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function 474 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function 584 using redeclarable_base::getMostRecentDecl; 1058 return getMostRecentDecl(); in getMostRecentDeclImpl() 2030 return getMostRecentDecl(); in getMostRecentDeclImpl() 3250 return getMostRecentDecl(); in getMostRecentDeclImpl() 3414 return getMostRecentDecl(); in getMostRecentDeclImpl() 3742 EnumDecl *getMostRecentDecl() { in getMostRecentDecl() function [all …]
|
| H A D | DeclCXX.h | 436 getMostRecentDecl(); in dataPtr() 518 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function 520 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 523 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function 524 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() 529 static_cast<CXXRecordDecl *>(this)->getMostRecentDecl(); in getMostRecentNonInjectedDecl() 2073 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function 2077 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function 3072 using redeclarable_base::getMostRecentDecl; 3243 return getMostRecentDecl(); in getMostRecentDeclImpl() [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 | 1259 return getMostRecentDecl(); in getMostRecentDeclImpl() 1519 getMostRecentDecl(); in hasDefinition() 1889 using redeclarable_base::getMostRecentDecl; 2093 return getMostRecentDecl(); in getMostRecentDeclImpl() 2200 getMostRecentDecl(); in hasDefinition() 2242 using redeclarable_base::getMostRecentDecl;
|
| H A D | DeclBase.h | 1030 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function 1034 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 294 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl() 315 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl() 573 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 582 return P.getMostRecentDecl(); in findPartialSpecialization() 594 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember() 1261 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 1270 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
|
| H A D | DeclBase.cpp | 451 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed() 456 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed() 723 for (const auto *A : getMostRecentDecl()->attrs()) { in isWeakImported() 1314 for (T *D = Self->getMostRecentDecl(); D; D = D->getPreviousDecl()) in collectAllContextsImpl() 1677 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
|
| H A D | TemplateName.cpp | 189 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
|
| H A D | Decl.cpp | 1165 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux() 1197 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux() 2261 for (VarDecl *Decl = getMostRecentDecl(); Decl; in getActingDefinition() 3506 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline() 4966 auto *MostRecent = getMostRecentDecl(); in isWeak()
|
| H A D | ASTImporter.cpp | 2731 PrevDecl = FoundEnum->getMostRecentDecl(); in VisitEnumDecl() 2880 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl() 3577 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl() 4178 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl() 5687 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl() 5701 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl() 5977 const_cast<VarTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarTemplateDecl() 5980 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitVarTemplateDecl() 6230 const_cast<FunctionTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitFunctionTemplateDecl() 6235 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 | 2916 return getMostRecentDecl(); in getMostRecentDeclImpl() 2930 return getMostRecentDecl(); in getMostRecentDeclImpl()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | Sema.cpp | 719 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused() 741 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused() 771 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused() 824 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed() 835 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed() 898 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed() 903 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
|
| H A D | IdentifierResolver.cpp | 281 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
|
| H A D | SemaAvailability.cpp | 343 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; in DoEmitAvailabilityWarning()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1632 = PrevClassTemplate->getMostRecentDecl()->getTemplateParameters(); in VisitClassTemplateDecl() 4930 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition() 6352 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations() 6357 switch (Var->getMostRecentDecl() in PerformPendingInstantiations() 6367 if (Var != Var->getMostRecentDecl()) in PerformPendingInstantiations()
|
| H A D | SemaTemplate.cpp | 1952 ? PrevClassTemplate->getMostRecentDecl()->getTemplateParameters() in CheckClassTemplate() 5680 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument() 5729 cast<TemplateDecl>(Template->getMostRecentDecl()) in CheckTemplateArgumentList() 11174 diagnose(Spec->getMostRecentDecl(), false); in checkImpl() 11220 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
|
| H A D | SemaLambda.cpp | 300 else if (Var->getMostRecentDecl()->isInline()) in getCurrentMangleNumberContext()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 183 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule() 393 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 461 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 498 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1078 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1257 D == D->getMostRecentDecl()) { in VisitNamespaceDecl() 1407 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl() 1811 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable() 1837 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
|
| H A D | ASTReaderDecl.cpp | 283 static Decl *getMostRecentDecl(Decl *D); 481 Current = Current->getMostRecentDecl(); in operator ++() 3288 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader 3302 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl() 4017 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain() 4191 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 171 VD = VD->getMostRecentDecl(); in isEmittedWithConstantInitializer()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | IncludeCleaner.cpp | 174 if (SM.isInMainFile(RD->getMostRecentDecl()->getLocation())) in add()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ThreadSafetyCommon.cpp | 405 FD = FD->getMostRecentDecl(); in translateCallExpr()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 6008 ASSERT_EQ(ToClassDef->getMostRecentDecl(), ToClassDef); in TEST_P() 6009 ASSERT_EQ(ToClassProto->getMostRecentDecl(), ToClassProto); in TEST_P() 6018 ASSERT_EQ(FromClassDef->getMostRecentDecl(), FromClassDef); in TEST_P() 6019 ASSERT_EQ(FromClassProto->getMostRecentDecl(), FromClassProto); in TEST_P()
|