Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DDeclTemplate.h640 return getMostRecentDecl(); in getMostRecentDeclImpl()
670 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
810 using redeclarable_base::getMostRecentDecl;
937 FunctionTemplateDecl *getMostRecentDecl() {
940 ->getMostRecentDecl());
942 const FunctionTemplateDecl *getMostRecentDecl() const {
943 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl();
1604 ClassTemplateSpecializationDecl *getMostRecentDecl() {
1606 this)->getMostRecentDecl();
1830 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() {
[all …]
DDecl.h401 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
402 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
404 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
405 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
509 using redeclarable_base::getMostRecentDecl;
923 return getMostRecentDecl(); in getMostRecentDeclImpl()
933 using redeclarable_base::getMostRecentDecl;
1707 return getMostRecentDecl(); in getMostRecentDeclImpl()
1717 using redeclarable_base::getMostRecentDecl;
2629 return getMostRecentDecl(); in getMostRecentDeclImpl()
[all …]
DRedeclarable.h166 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
171 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
DDeclCXX.h589 getMostRecentDecl(); in dataPtr()
669 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function
671 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
674 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function
675 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
1811 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function
1813 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
1815 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function
1816 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
2769 using redeclarable_base::getMostRecentDecl;
[all …]
DDeclObjC.h1194 return getMostRecentDecl(); in getMostRecentDeclImpl()
1446 getMostRecentDecl(); in hasDefinition()
1811 using redeclarable_base::getMostRecentDecl;
2006 return getMostRecentDecl(); in getMostRecentDeclImpl()
2092 getMostRecentDecl(); in hasDefinition()
2133 using redeclarable_base::getMostRecentDecl;
DDeclBase.h858 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
862 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
/external/clang/lib/AST/
DDeclTemplate.cpp170 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl()
274 Common *CommonPtr = getMostRecentDecl()->getCommonPtr(); in LoadLazySpecializations()
348 Common *CommonPtr = getMostRecentDecl()->getCommonPtr(); in LoadLazySpecializations()
417 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
426 return P.getMostRecentDecl(); in findPartialSpecialization()
438 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
968 Common *CommonPtr = getMostRecentDecl()->getCommonPtr(); in LoadLazySpecializations()
1036 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations()
1045 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
DDeclBase.cpp351 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed()
356 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed()
1065 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts()
1420 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
DDeclCXX.cpp2107 return getMostRecentDecl(); in getMostRecentDeclImpl()
2119 return getMostRecentDecl(); in getMostRecentDeclImpl()
DDecl.cpp1046 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
1069 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
2809 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
DMicrosoftMangle.cpp1252 cast<CXXRecordDecl>(ND->getDeclContext())->getMostRecentDecl(), in mangleTemplateArg()
1257 mangleMemberFunctionPointer(MD->getParent()->getMostRecentDecl(), MD); in mangleTemplateArg()
DType.cpp1947 RD = RD->getMostRecentDecl(); in isIncompleteType()
3783 return getClass()->getAsCXXRecordDecl()->getMostRecentDecl(); in getMostRecentCXXRecordDecl()
DDeclObjC.cpp297 for (auto decl = getMostRecentDecl(); decl; decl = decl->getPreviousDecl()) { in getTypeParamList()
/external/clang/lib/Sema/
DSema.cpp426 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
441 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
464 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
489 !FD->getMostRecentDecl()->isInlined()) in getUndefinedButUsed()
495 if (VD->isExternallyVisible() && !VD->getMostRecentDecl()->isInline()) in getUndefinedButUsed()
529 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
534 assert(cast<VarDecl>(ND)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
DIdentifierResolver.cpp275 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
DSemaTemplateInstantiateDecl.cpp3615 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition()
4894 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
4899 switch (Var->getMostRecentDecl()->getTemplateSpecializationKind()) { in PerformPendingInstantiations()
4908 if (Var != Var->getMostRecentDecl()) continue; in PerformPendingInstantiations()
DSemaDecl.cpp2429 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()
3273 if (Old->getMostRecentDecl()->isUsed(false)) in MergeCompatibleFunctionDecls()
3371 for (VarDecl *PrevVD = Old->getMostRecentDecl(); PrevVD; in MergeVarDeclTypes()
3546 VarDecl *MostRecent = Old->getMostRecentDecl(); in MergeVarDecl()
3624 if (New->isInline() && !Old->getMostRecentDecl()->isInline()) { in MergeVarDecl()
3694 if (Old->getMostRecentDecl()->isUsed(false)) in MergeVarDecl()
DSemaTemplate.cpp3758 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument()
8688 diagnose(Spec->getMostRecentDecl(), false); in checkImpl()
8734 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
DSemaExprObjC.cpp3477 if (RecordDecl *RD = RT->getDecl()->getMostRecentDecl()) in getObjCBridgeAttr()
DSemaExpr.cpp180 for (Decl *Redecl = D->getMostRecentDecl(); Redecl && Warn; in DiagnoseAvailabilityOfDecl()
13124 else if (Func->getMostRecentDecl()->isInlined() && in MarkFunctionReferenced()
13126 !Func->getMostRecentDecl()->hasAttr<GNUInlineAttr>()) in MarkFunctionReferenced()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp167 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule()
375 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
441 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
470 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
942 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
1086 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1210 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl()
1584 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable()
1610 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
DASTReaderDecl.cpp230 static Decl *getMostRecentDecl(Decl *D);
420 Current = Current->getMostRecentDecl(); in operator ++()
3018 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader
3032 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl()
3539 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
3701 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp355 const FunctionDecl *FD = CE->getDirectCallee()->getMostRecentDecl(); in translateCallExpr()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1957 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction()
4149 const Decl *D = Val.first.getDecl()->getMostRecentDecl(); in EmitTargetMetadata()
DMicrosoftCXXABI.cpp2675 const CXXRecordDecl *RD = MD->getParent()->getMostRecentDecl(); in EmitMemberFunctionPointer()

12