Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclTemplate.h762 return getMostRecentDecl(); in getMostRecentDeclImpl()
794 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
948 using redeclarable_base::getMostRecentDecl;
1064 FunctionTemplateDecl *getMostRecentDecl() {
1067 ->getMostRecentDecl());
1069 const FunctionTemplateDecl *getMostRecentDecl() const {
1070 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl();
1877 ClassTemplateSpecializationDecl *getMostRecentDecl() {
2121 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() {
2124 this)->getMostRecentDecl());
[all …]
H A DDecl.h447 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
448 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
450 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
451 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
560 using redeclarable_base::getMostRecentDecl;
1032 return getMostRecentDecl(); in getMostRecentDeclImpl()
1043 using redeclarable_base::getMostRecentDecl;
1979 return getMostRecentDecl(); in getMostRecentDeclImpl()
1993 using redeclarable_base::getMostRecentDecl;
3173 return getMostRecentDecl(); in getMostRecentDeclImpl()
[all …]
H A DDeclCXX.h428 getMostRecentDecl(); in dataPtr()
510 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function
512 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
515 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function
516 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
521 static_cast<CXXRecordDecl *>(this)->getMostRecentDecl(); in getMostRecentNonInjectedDecl()
2039 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function
2041 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
2043 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function
2044 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
[all …]
H A DRedeclarable.h225 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
230 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
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclTemplate.cpp285 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl()
306 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl()
562 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
571 return P.getMostRecentDecl(); in findPartialSpecialization()
583 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
1236 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
1245 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()
1294 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts()
1641 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
H A DTemplateName.cpp165 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
H A DDecl.cpp1133 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
1165 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
3405 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
4821 auto *MostRecent = getMostRecentDecl(); in isWeak()
H A DASTImporter.cpp2696 PrevDecl = FoundEnum->getMostRecentDecl(); in VisitEnumDecl()
2845 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl()
3482 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl()
4065 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl()
5471 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl()
5485 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl()
5763 const_cast<VarTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarTemplateDecl()
5766 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitVarTemplateDecl()
5991 const_cast<FunctionTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitFunctionTemplateDecl()
5996 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitFunctionTemplateDecl()
H A DAPValue.cpp73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
H A DDeclCXX.cpp2914 return getMostRecentDecl(); in getMostRecentDeclImpl()
2928 return getMostRecentDecl(); in getMostRecentDeclImpl()
H A DDeclObjC.cpp321 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSema.cpp652 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
674 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
704 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
757 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed()
768 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed()
818 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
823 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.cpp1523 = PrevClassTemplate->getMostRecentDecl()->getTemplateParameters(); in VisitClassTemplateDecl()
4787 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition()
6129 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
6134 switch (Var->getMostRecentDecl() in PerformPendingInstantiations()
6144 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()
H A DSemaDecl.cpp2834 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()
2839 if (RetainAttr *OldAttr = Old->getMostRecentDecl()->getAttr<RetainAttr>()) { in mergeDeclAttributes()
3836 if (Old->getMostRecentDecl()->isUsed(false)) in MergeCompatibleFunctionDecls()
3935 for (VarDecl *PrevVD = Old->getMostRecentDecl(); PrevVD; in MergeVarDeclTypes()
4114 VarDecl *MostRecent = Old->getMostRecentDecl(); in MergeVarDecl()
4195 if (New->isInline() && !Old->getMostRecentDecl()->isInline()) { in MergeVarDecl()
4252 if (Old->getMostRecentDecl()->isUsed(false)) in MergeVarDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp180 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule()
390 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
458 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
495 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
1066 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
1245 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1379 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl()
1783 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable()
1809 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
H A DASTReaderDecl.cpp282 static Decl *getMostRecentDecl(Decl *D);
477 Current = Current->getMostRecentDecl(); in operator ++()
3521 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader
3535 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl()
4234 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
4408 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp379 FD = FD->getMostRecentDecl(); in translateCallExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp1296 ->getMostRecentDecl(); in UpdateMultiVersionNames()
1922 FD = FD ? FD->getMostRecentDecl() : FD; in GetCPUAndFeaturesAttributes()
3624 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction()

12