Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclTemplate.h751 return getMostRecentDecl(); in getMostRecentDeclImpl()
943 using redeclarable_base::getMostRecentDecl;
1059 FunctionTemplateDecl *getMostRecentDecl() {
1062 ->getMostRecentDecl());
1951 this)->getMostRecentDecl());
2155 ClassTemplateDecl *getMostRecentDecl() {
2159 const ClassTemplateDecl *getMostRecentDecl() const {
2556 VarTemplateSpecializationDecl *getMostRecentDecl() {
2779 this)->getMostRecentDecl());
2956 VarTemplateDecl *getMostRecentDecl() {
[all …]
H A DDecl.h446 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
449 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
559 using redeclarable_base::getMostRecentDecl;
995 return getMostRecentDecl(); in getMostRecentDeclImpl()
1006 using redeclarable_base::getMostRecentDecl;
1858 return getMostRecentDecl(); in getMostRecentDeclImpl()
1872 using redeclarable_base::getMostRecentDecl;
2948 return getMostRecentDecl(); in getMostRecentDeclImpl()
3112 return getMostRecentDecl(); in getMostRecentDeclImpl()
3420 EnumDecl *getMostRecentDecl() { in getMostRecentDecl() function
[all …]
H A DDeclCXX.h663 getMostRecentDecl();
745 CXXRecordDecl *getMostRecentDecl() {
747 static_cast<RecordDecl *>(this)->getMostRecentDecl());
750 const CXXRecordDecl *getMostRecentDecl() const {
751 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl();
756 static_cast<CXXRecordDecl *>(this)->getMostRecentDecl();
2134 CXXMethodDecl *getMostRecentDecl() {
2138 const CXXMethodDecl *getMostRecentDecl() const {
3073 using redeclarable_base::getMostRecentDecl;
3162 return getMostRecentDecl();
[all …]
H A DRedeclarable.h226 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
231 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
H A DDeclObjC.h1281 return getMostRecentDecl(); in getMostRecentDeclImpl()
1541 getMostRecentDecl(); in hasDefinition()
1911 using redeclarable_base::getMostRecentDecl;
2105 return getMostRecentDecl(); in getMostRecentDeclImpl()
2204 getMostRecentDecl(); in hasDefinition()
2246 using redeclarable_base::getMostRecentDecl;
H A DDeclBase.h968 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
972 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclTemplate.cpp189 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl()
209 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl()
432 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
441 return P.getMostRecentDecl(); in findPartialSpecialization()
453 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
1031 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
1040 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
H A DTemplateName.cpp152 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
H A DDeclBase.cpp404 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed()
409 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed()
1232 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts()
1609 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
H A DDeclCXX.cpp2622 return getMostRecentDecl(); in getMostRecentDeclImpl()
2636 return getMostRecentDecl(); in getMostRecentDeclImpl()
H A DDecl.cpp1078 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
1110 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
3100 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
H A DASTImporter.cpp2645 PrevDecl = FoundRecord->getMostRecentDecl(); in VisitRecordDecl()
3125 FoundByLookup->getMostRecentDecl()); in VisitFunctionDecl()
3658 auto *Recent = const_cast<VarDecl *>(FoundByLookup->getMostRecentDecl()); in VisitVarDecl()
5011 const_cast<ClassTemplateDecl *>(FoundByLookup->getMostRecentDecl()); in VisitClassTemplateDecl()
5023 FoundByLookup->getTemplatedDecl()->getMostRecentDecl(); in VisitClassTemplateDecl()
H A DDeclObjC.cpp320 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
H A DASTContext.cpp2741 FD = FD->getMostRecentDecl(); in adjustDeducedFunctionResultType()
9921 FD = FD->getMostRecentDecl(); in forEachMultiversionedFunctionVersion()
9924 FunctionDecl *CurFD = CurDecl->getAsFunction()->getMostRecentDecl(); in forEachMultiversionedFunctionVersion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSema.cpp548 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
570 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
600 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
653 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed()
664 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed()
714 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
719 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
H A DIdentifierResolver.cpp280 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
H A DSemaTemplateInstantiateDecl.cpp1249 = PrevClassTemplate->getMostRecentDecl()->getTemplateParameters(); in VisitClassTemplateDecl()
3984 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition()
5318 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
5323 switch (Var->getMostRecentDecl()->getTemplateSpecializationKind()) { in PerformPendingInstantiations()
5332 if (Var != Var->getMostRecentDecl()) in PerformPendingInstantiations()
H A DSemaLambda.cpp308 else if (Var->getMostRecentDecl()->isInline()) in getCurrentMangleNumberContext()
H A DSemaTemplate.cpp1525 ? PrevClassTemplate->getMostRecentDecl()->getTemplateParameters() in CheckClassTemplate()
5002 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument()
5047 cast<TemplateDecl>(Template->getMostRecentDecl()) in CheckTemplateArgumentList()
10099 diagnose(Spec->getMostRecentDecl(), false); in checkImpl()
10145 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
H A DSemaDecl.cpp2617 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()
3586 if (Old->getMostRecentDecl()->isUsed(false)) in MergeCompatibleFunctionDecls()
3684 for (VarDecl *PrevVD = Old->getMostRecentDecl(); PrevVD; in MergeVarDeclTypes()
3859 VarDecl *MostRecent = Old->getMostRecentDecl(); in MergeVarDecl()
3940 if (New->isInline() && !Old->getMostRecentDecl()->isInline()) { in MergeVarDecl()
3997 if (Old->getMostRecentDecl()->isUsed(false)) in MergeVarDecl()
H A DSemaDeclCXX.cpp646 } else if (!Old->getMostRecentDecl()->isInlined() && New->isInlined() && in MergeCXXFunctionDecl()
5779 for (FunctionDecl *FD = MD->getMostRecentDecl(); FD; in checkClassLevelDLLAttribute()
8814 for (NamespaceDecl *NS = PrevNS->getMostRecentDecl(); NS; in DiagnoseNamespaceInlineMismatch()
10584 OldDecl->getMostRecentDecl()->getTemplateParameters(); in ActOnAliasDeclaration()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterDecl.cpp174 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule()
384 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
452 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
486 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
1005 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
1174 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1308 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl()
1682 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable()
1708 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
H A DASTReaderDecl.cpp291 static Decl *getMostRecentDecl(Decl *D);
474 Current = Current->getMostRecentDecl(); in operator ++()
3395 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader
3409 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl()
4021 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
4183 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp376 FD = FD->getMostRecentDecl(); in translateCallExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenModule.cpp1012 ->getMostRecentDecl(); in UpdateMultiVersionNames()
1401 FD = FD ? FD->getMostRecentDecl() : FD; in GetCPUAndFeaturesAttributes()
2863 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction()
5256 const Decl *D = Val.first.getDecl()->getMostRecentDecl(); in EmitTargetMetadata()

12