/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 762 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 D | Decl.h | 447 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 D | DeclCXX.h | 428 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 D | Redeclarable.h | 225 decl_type *getMostRecentDecl() { in getMostRecentDecl() function 230 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
|
H A D | DeclObjC.h | 1257 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 D | DeclBase.h | 999 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 D | DeclTemplate.cpp | 285 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 D | DeclBase.cpp | 450 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 D | TemplateName.cpp | 165 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
|
H A D | Decl.cpp | 1133 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 D | ASTImporter.cpp | 2696 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 D | APValue.cpp | 73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
|
H A D | DeclCXX.cpp | 2914 return getMostRecentDecl(); in getMostRecentDeclImpl() 2928 return getMostRecentDecl(); in getMostRecentDeclImpl()
|
H A D | DeclObjC.cpp | 321 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | Sema.cpp | 652 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 D | IdentifierResolver.cpp | 279 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 | 1523 = 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 D | SemaTemplate.cpp | 1947 ? 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 D | SemaLambda.cpp | 302 else if (Var->getMostRecentDecl()->isInline()) in getCurrentMangleNumberContext()
|
H A D | SemaDecl.cpp | 2834 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 D | ASTWriterDecl.cpp | 180 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 D | ASTReaderDecl.cpp | 282 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 D | ThreadSafetyCommon.cpp | 379 FD = FD->getMostRecentDecl(); in translateCallExpr()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 1296 ->getMostRecentDecl(); in UpdateMultiVersionNames() 1922 FD = FD ? FD->getMostRecentDecl() : FD; in GetCPUAndFeaturesAttributes() 3624 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction()
|