/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 728 return getMostRecentDecl(); in getMostRecentDeclImpl() 760 return SETraits::getDecl(&*this->I)->getMostRecentDecl(); 931 using redeclarable_base::getMostRecentDecl; 1038 FunctionTemplateDecl *getMostRecentDecl() { 1041 ->getMostRecentDecl()); 1043 const FunctionTemplateDecl *getMostRecentDecl() const { 1044 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl(); 1874 ClassTemplateSpecializationDecl *getMostRecentDecl() { 2112 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() { 2115 this)->getMostRecentDecl()); [all …]
|
H A D | Decl.h | 96 return getMostRecentDecl(); in getMostRecentDeclImpl() 113 using redeclarable_base::getMostRecentDecl; 476 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function 477 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 479 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function 480 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() 586 using redeclarable_base::getMostRecentDecl; 1091 return getMostRecentDecl(); in getMostRecentDeclImpl() 1102 using redeclarable_base::getMostRecentDecl; 2103 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 | DeclCXX.h | 458 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() 2170 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function 2172 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 2174 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function 2175 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() [all …]
|
H A D | DeclObjC.h | 1273 return getMostRecentDecl(); in getMostRecentDeclImpl() 1533 getMostRecentDecl(); in hasDefinition() 1909 using redeclarable_base::getMostRecentDecl; 2129 return getMostRecentDecl(); in getMostRecentDeclImpl() 2241 getMostRecentDecl(); in hasDefinition() 2290 using redeclarable_base::getMostRecentDecl;
|
H A D | DeclBase.h | 1065 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function 1069 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
|
H A D | ASTContext.h | 1101 return TUDecl->getMostRecentDecl(); in getTranslationUnitDecl()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclTemplate.cpp | 337 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl() 359 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() 1337 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 1346 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
|
H A D | DeclBase.cpp | 559 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed() 564 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed() 848 for (const auto *A : getMostRecentDecl()->attrs()) { in isWeakImported() 1499 for (T *D = Self->getMostRecentDecl(); D; D = D->getPreviousDecl()) in collectAllContextsImpl() 1862 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
|
H A D | Decl.cpp | 1228 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux() 1260 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux() 2335 for (VarDecl *Decl = getMostRecentDecl(); Decl; in getActingDefinition() 3757 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline() 5358 auto *MostRecent = getMostRecentDecl(); in isWeak()
|
H A D | ASTImporter.cpp | 2956 PrevDecl = FoundEnum->getMostRecentDecl(); in VisitEnumDecl() 3114 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl() 3965 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl() 4587 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl() 6121 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl() 6135 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl() 6447 const_cast<VarTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarTemplateDecl() 6450 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitVarTemplateDecl() 6614 D2->setPreviousDecl(FoundSpecialization->getMostRecentDecl()); in VisitVarTemplateSpecializationDecl() 6717 const_cast<FunctionTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitFunctionTemplateDecl() [all …]
|
H A D | APValue.cpp | 73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
|
H A D | DeclCXX.cpp | 3036 return getMostRecentDecl(); in getMostRecentDeclImpl() 3050 return getMostRecentDecl(); in getMostRecentDeclImpl()
|
H A D | DeclObjC.cpp | 334 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 187 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule() 469 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 548 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 589 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl() 1192 !D->hasExtInfo() && D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl() 1383 D == D->getMostRecentDecl()) { in VisitNamespaceDecl() 1446 D->getFirstDecl() == D->getMostRecentDecl() && !D->hasAttrs() && in VisitUsingShadowDecl() 1558 D->getFirstDecl() == D->getMostRecentDecl() && !D->isInvalidDecl() && in VisitCXXMethodDecl() 2034 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable() 2060 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
|
H A D | ASTReaderDecl.cpp | 293 static Decl *getMostRecentDecl(Decl *D); 494 Current = Current->getMostRecentDecl(); in operator ++() 3520 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader 3534 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl() 4343 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain() 4515 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | Sema.cpp | 795 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused() 817 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused() 847 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused() 900 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed() 911 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed() 975 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed() 980 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
|
H A D | SemaAvailability.cpp | 424 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; in DoEmitAvailabilityWarning()
|
H A D | SemaTemplateInstantiateDecl.cpp | 1749 PrevClassTemplate->getMostRecentDecl(); in VisitClassTemplateDecl() 5024 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition() 6431 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations() 6436 switch (Var->getMostRecentDecl() in PerformPendingInstantiations() 6446 if (Var != Var->getMostRecentDecl()) in PerformPendingInstantiations()
|
H A D | SemaTemplate.cpp | 1655 CheckingRD = CheckingRD->getMostRecentDecl(); in CheckIfContainingRecord() 1662 if (CheckingRD == RD->getMostRecentDecl()) in CheckIfContainingRecord() 1771 Decl *D = TD->getMostRecentDecl(); in GetTemplateParameterList() 5246 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument() 5442 (Template->getMostRecentDecl()->getKind() != Decl::Kind::Concept) && in CheckTemplateArgumentList() 10940 diagnose(Spec->getMostRecentDecl(), false); in checkImpl() 10986 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
|
H A D | SemaLambda.cpp | 308 if (Var->getMostRecentDecl()->isInline()) in getCurrentMangleNumberContext()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCXXABI.cpp | 178 VD = VD->getMostRecentDecl(); in isEmittedWithConstantInitializer()
|
H A D | CodeGenModule.cpp | 1953 ->getMostRecentDecl(); in UpdateMultiVersionNames() 2628 FD = FD ? FD->getMostRecentDecl() : FD; in GetCPUAndFeaturesAttributes() 4550 const Decl *MRD = D->getMostRecentDecl(); in shouldDropDLLAttribute() 4741 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction()
|
/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/Analysis/ |
H A D | ThreadSafetyCommon.cpp | 425 FD = FD->getMostRecentDecl(); in translateCallExpr()
|