Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclTemplate.h776 return getMostRecentDecl(); in getMostRecentDeclImpl()
808 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
979 using redeclarable_base::getMostRecentDecl;
1086 FunctionTemplateDecl *getMostRecentDecl() {
1089 ->getMostRecentDecl());
1091 const FunctionTemplateDecl *getMostRecentDecl() const {
1092 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl();
1904 ClassTemplateSpecializationDecl *getMostRecentDecl() {
2148 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() {
2151 this)->getMostRecentDecl());
[all …]
H A DDecl.h94 return getMostRecentDecl(); in getMostRecentDeclImpl()
111 using redeclarable_base::getMostRecentDecl;
473 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
474 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
476 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
477 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
590 using redeclarable_base::getMostRecentDecl;
1102 return getMostRecentDecl(); in getMostRecentDeclImpl()
1113 using redeclarable_base::getMostRecentDecl;
2077 return getMostRecentDecl(); in getMostRecentDeclImpl()
[all …]
H A DDeclCXX.h442 getMostRecentDecl(); in dataPtr()
524 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function
526 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
529 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function
530 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
535 static_cast<CXXRecordDecl *>(this)->getMostRecentDecl(); in getMostRecentNonInjectedDecl()
2087 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function
2089 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
2091 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function
2092 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
[all …]
H A DRedeclarable.h226 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
231 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
H A DDeclObjC.h1262 return getMostRecentDecl(); in getMostRecentDeclImpl()
1522 getMostRecentDecl(); in hasDefinition()
1898 using redeclarable_base::getMostRecentDecl;
2115 return getMostRecentDecl(); in getMostRecentDeclImpl()
2227 getMostRecentDecl(); in hasDefinition()
2276 using redeclarable_base::getMostRecentDecl;
H A DDeclBase.h1041 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
1045 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
H A DASTContext.h1060 return TUDecl->getMostRecentDecl(); in getTranslationUnitDecl()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclTemplate.cpp304 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl()
325 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()
1318 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
1327 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
H A DDeclBase.cpp464 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed()
469 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed()
736 for (const auto *A : getMostRecentDecl()->attrs()) { in isWeakImported()
1344 for (T *D = Self->getMostRecentDecl(); D; D = D->getPreviousDecl()) in collectAllContextsImpl()
1707 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
H A DTemplateName.cpp226 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
H A DDecl.cpp1184 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
1216 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
2290 for (VarDecl *Decl = getMostRecentDecl(); Decl; in getActingDefinition()
3540 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
5046 auto *MostRecent = getMostRecentDecl(); in isWeak()
H A DASTImporter.cpp2725 PrevDecl = FoundEnum->getMostRecentDecl(); in VisitEnumDecl()
2874 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl()
3684 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl()
4288 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl()
5798 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl()
5812 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl()
6112 const_cast<VarTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarTemplateDecl()
6115 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitVarTemplateDecl()
6366 const_cast<FunctionTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitFunctionTemplateDecl()
6371 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitFunctionTemplateDecl()
H A DAPValue.cpp73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
H A DDeclCXX.cpp2951 return getMostRecentDecl(); in getMostRecentDeclImpl()
2965 return getMostRecentDecl(); in getMostRecentDeclImpl()
H A DDeclObjC.cpp333 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSema.cpp721 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
743 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
773 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
826 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed()
837 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed()
900 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
905 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
H A DIdentifierResolver.cpp285 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
H A DSemaAvailability.cpp347 for (const Decl *Redecl = OffendingDecl->getMostRecentDecl(); Redecl; in DoEmitAvailabilityWarning()
H A DSemaTemplate.cpp1701 CheckingRD = CheckingRD->getMostRecentDecl(); in CheckIfContainingRecord()
1706 if (CheckingRD == RD->getMostRecentDecl()) in CheckIfContainingRecord()
2046 ? PrevClassTemplate->getMostRecentDecl()->getTemplateParameters() in CheckClassTemplate()
5793 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument()
5843 cast<TemplateDecl>(Template->getMostRecentDecl()) in CheckTemplateArgumentList()
5985 (Template->getMostRecentDecl()->getKind() != Decl::Kind::Concept) && in CheckTemplateArgumentList()
11432 diagnose(Spec->getMostRecentDecl(), false); in checkImpl()
11478 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
H A DSemaTemplateInstantiateDecl.cpp1643 PrevClassTemplate->getMostRecentDecl(); in VisitClassTemplateDecl()
4939 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition()
6364 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
6369 switch (Var->getMostRecentDecl() in PerformPendingInstantiations()
6379 if (Var != Var->getMostRecentDecl()) in PerformPendingInstantiations()
H A DSemaLambda.cpp303 else if (Var->getMostRecentDecl()->isInline()) in getCurrentMangleNumberContext()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriterDecl.cpp186 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule()
396 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
464 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
505 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
1091 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
1277 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1427 D->getFirstDecl() == D->getMostRecentDecl() && !D->isInvalidDecl() && in VisitCXXMethodDecl()
1839 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable()
1865 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
H A DASTReaderDecl.cpp283 static Decl *getMostRecentDecl(Decl *D);
486 Current = Current->getMostRecentDecl(); in operator ++()
3377 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader
3391 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl()
4115 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
4289 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCXXABI.cpp171 VD = VD->getMostRecentDecl(); in isEmittedWithConstantInitializer()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp417 FD = FD->getMostRecentDecl(); in translateCallExpr()

12