Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DDeclTemplate.h635 return getMostRecentDecl(); in getMostRecentDeclImpl()
665 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
805 using redeclarable_base::getMostRecentDecl;
932 FunctionTemplateDecl *getMostRecentDecl() {
935 ->getMostRecentDecl());
937 const FunctionTemplateDecl *getMostRecentDecl() const {
938 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl();
1604 ClassTemplateSpecializationDecl *getMostRecentDecl() {
1606 this)->getMostRecentDecl();
1832 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() {
[all …]
DDecl.h331 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
332 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
334 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
335 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
439 using redeclarable_base::getMostRecentDecl;
850 return getMostRecentDecl(); in getMostRecentDeclImpl()
860 using redeclarable_base::getMostRecentDecl;
1682 return getMostRecentDecl(); in getMostRecentDeclImpl()
1692 using redeclarable_base::getMostRecentDecl;
2612 return getMostRecentDecl(); in getMostRecentDeclImpl()
[all …]
DDeclCXX.h268 Canon->getMostRecentDecl(); in update()
666 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function
668 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
671 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function
672 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
1782 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function
1784 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
1786 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function
1787 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
2703 using redeclarable_base::getMostRecentDecl;
[all …]
DRedeclarable.h158 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
163 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
DDeclObjC.h954 return getMostRecentDecl(); in getMostRecentDeclImpl()
1206 getMostRecentDecl(); in hasDefinition()
1569 using redeclarable_base::getMostRecentDecl;
1764 return getMostRecentDecl(); in getMostRecentDeclImpl()
1850 getMostRecentDecl(); in hasDefinition()
1891 using redeclarable_base::getMostRecentDecl;
DDeclBase.h844 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
848 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
/external/clang/lib/AST/
DDeclTemplate.cpp176 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl()
283 Common *CommonPtr = getMostRecentDecl()->getCommonPtr(); in LoadLazySpecializations()
357 Common *CommonPtr = getMostRecentDecl()->getCommonPtr(); in LoadLazySpecializations()
428 PS.push_back(P->getMostRecentDecl()); in getPartialSpecializations()
441 return P->getMostRecentDecl(); in findPartialSpecialization()
456 return P->getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
1002 Common *CommonPtr = getMostRecentDecl()->getCommonPtr(); in LoadLazySpecializations()
1073 PS.push_back(P->getMostRecentDecl()); in getPartialSpecializations()
1085 return P->getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
DDeclBase.cpp1021 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts()
1376 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
DDeclCXX.cpp2027 return getMostRecentDecl(); in getMostRecentDeclImpl()
2039 return getMostRecentDecl(); in getMostRecentDeclImpl()
DDecl.cpp1043 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
1066 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
2728 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
DMicrosoftMangle.cpp1204 cast<CXXRecordDecl>(ND->getDeclContext())->getMostRecentDecl(), in mangleTemplateArg()
1209 mangleMemberFunctionPointer(MD->getParent()->getMostRecentDecl(), MD); in mangleTemplateArg()
DType.cpp1941 RD = RD->getMostRecentDecl(); in isIncompleteType()
3783 return getClass()->getAsCXXRecordDecl()->getMostRecentDecl(); in getMostRecentCXXRecordDecl()
DExprCXX.cpp71 if (const UuidAttr *Uuid = RD->getMostRecentDecl()->getAttr<UuidAttr>()) in GetUuidAttrOfType()
DDeclObjC.cpp272 for (auto decl = getMostRecentDecl(); decl; decl = decl->getPreviousDecl()) { in getTypeParamList()
/external/clang/lib/Sema/
DSema.cpp427 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
442 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
465 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
491 !FD->getMostRecentDecl()->isInlined()) in getUndefinedButUsed()
545 assert(cast<FunctionDecl>(ND)->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
DIdentifierResolver.cpp275 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
DSemaTemplateInstantiateDecl.cpp3443 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition()
4686 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
4691 switch (Var->getMostRecentDecl()->getTemplateSpecializationKind()) { in PerformPendingInstantiations()
4700 if (Var != Var->getMostRecentDecl()) continue; in PerformPendingInstantiations()
DSemaDecl.cpp2373 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()
3199 if (Old->getMostRecentDecl()->isUsed(false)) in MergeCompatibleFunctionDecls()
3459 VarDecl *MostRecent = Old->getMostRecentDecl(); in MergeVarDecl()
3584 if (Old->getMostRecentDecl()->isUsed(false)) in MergeVarDecl()
DSemaExpr.cpp176 for (Decl *Redecl = D->getMostRecentDecl(); Redecl && Warn; in DiagnoseAvailabilityOfDecl()
12565 else if (Func->getMostRecentDecl()->isInlined() && in MarkFunctionReferenced()
12567 !Func->getMostRecentDecl()->hasAttr<GNUInlineAttr>()) in MarkFunctionReferenced()
12577 for (FunctionDecl *F = Func->getMostRecentDecl();; F = F->getPreviousDecl()) { in MarkFunctionReferenced()
DSemaExprObjC.cpp3448 if (RecordDecl *RD = RT->getDecl()->getMostRecentDecl()) in getObjCBridgeAttr()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp168 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule()
349 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
415 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
444 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
917 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
1061 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1176 D->getFirstDecl() == D->getMostRecentDecl() && in VisitCXXMethodDecl()
1566 T *MostRecent = First->getMostRecentDecl(); in VisitRedeclarable()
1591 for (const Decl *Prev = FirstLocal->getMostRecentDecl(); in VisitRedeclarable()
DASTReaderDecl.cpp208 static Decl *getMostRecentDecl(Decl *D);
393 Current = Current->getMostRecentDecl(); in operator ++()
2903 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader
2917 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl()
3407 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain()
3569 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.cpp1862 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction()
3834 const Decl *D = Val.first.getDecl()->getMostRecentDecl(); in EmitTargetMetadata()
DMicrosoftCXXABI.cpp2667 const CXXRecordDecl *RD = MD->getParent()->getMostRecentDecl(); in EmitMemberFunctionPointer()

12