Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DDeclTemplate.h541 return getMostRecentDecl(); in getMostRecentDeclImpl()
548 static DeclType *getMostRecentDecl(EntryType *D) { in getMostRecentDecl() function
549 return D->getMostRecentDecl(); in getMostRecentDecl()
572 return SETraits::getMostRecentDecl(&*SetIter);
722 using redeclarable_base::getMostRecentDecl;
741 getMostRecentDecl(FunctionTemplateSpecializationInfo *I) {
742 return I->Function->getMostRecentDecl();
1463 ClassTemplateSpecializationDecl *getMostRecentDecl() {
1465 this)->getMostRecentDecl();
1700 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() {
[all …]
DDecl.h284 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
285 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
287 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
288 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
379 using redeclarable_base::getMostRecentDecl;
782 return getMostRecentDecl(); in getMostRecentDeclImpl()
792 using redeclarable_base::getMostRecentDecl;
1568 return getMostRecentDecl(); in getMostRecentDeclImpl()
1578 using redeclarable_base::getMostRecentDecl;
2429 return getMostRecentDecl(); in getMostRecentDeclImpl()
[all …]
DRedeclarable.h160 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
165 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
DDeclCXX.h268 Canon->getMostRecentDecl(); in update()
660 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function
662 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
665 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function
666 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
1770 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function
1772 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
1774 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function
1775 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
2766 return getMostRecentDecl(); in getMostRecentDeclImpl()
[all …]
DDeclObjC.h766 return getMostRecentDecl(); in getMostRecentDeclImpl()
1350 using redeclarable_base::getMostRecentDecl;
1541 return getMostRecentDecl(); in getMostRecentDeclImpl()
1669 using redeclarable_base::getMostRecentDecl;
DDeclBase.h801 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
805 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
/external/clang/lib/AST/
DDeclTemplate.cpp173 return Entry ? SETraits::getMostRecentDecl(Entry) : nullptr; in findSpecializationImpl()
403 PS.push_back(P->getMostRecentDecl()); in getPartialSpecializations()
416 return P->getMostRecentDecl(); in findPartialSpecialization()
431 return P->getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
1036 PS.push_back(P->getMostRecentDecl()); in getPartialSpecializations()
1048 return P->getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
DMicrosoftMangle.cpp1136 cast<CXXRecordDecl>(ND->getDeclContext())->getMostRecentDecl(), in mangleTemplateArg()
1141 mangleMemberFunctionPointer(MD->getParent()->getMostRecentDecl(), MD); in mangleTemplateArg()
DDeclBase.cpp955 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts()
DDecl.cpp1013 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
1037 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
DDeclCXX.cpp1968 return getMostRecentDecl(); in getMostRecentDeclImpl()
DType.cpp2472 return getClass()->getAsCXXRecordDecl()->getMostRecentDecl(); in getMostRecentCXXRecordDecl()
DASTContext.cpp2099 FD = FD->getMostRecentDecl(); in adjustDeducedFunctionResultType()
7806 if (FD->getMostRecentDecl()->isMSExternInline()) in basicGVALinkageForFunction()
/external/clang/lib/Sema/
DSema.cpp376 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
391 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
414 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
440 !FD->getMostRecentDecl()->isInlined()) in getUndefinedButUsed()
494 assert(cast<FunctionDecl>(ND)->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
DIdentifierResolver.cpp267 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
DSemaTemplateInstantiateDecl.cpp3377 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition()
4641 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
4646 switch (Var->getMostRecentDecl()->getTemplateSpecializationKind()) { in PerformPendingInstantiations()
4655 if (Var != Var->getMostRecentDecl()) continue; in PerformPendingInstantiations()
DSemaDecl.cpp2196 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()
2924 if (Old->getMostRecentDecl()->isUsed(false)) in MergeCompatibleFunctionDecls()
3260 if (Old->getMostRecentDecl()->isUsed(false)) in MergeVarDecl()
4726 return D ? D->getMostRecentDecl() : nullptr; in findLocallyScopedExternCDecl()
DSemaExprObjC.cpp3143 if (RecordDecl *RD = RT->getDecl()->getMostRecentDecl()) in getObjCBridgeAttr()
DSemaExpr.cpp11544 else if (Func->getMostRecentDecl()->isInlined() && in MarkFunctionReferenced()
11546 !Func->getMostRecentDecl()->hasAttr<GNUInlineAttr>()) in MarkFunctionReferenced()
11556 for (FunctionDecl *F = Func->getMostRecentDecl();; F = F->getPreviousDecl()) { in MarkFunctionReferenced()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp228 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
287 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
313 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
758 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
918 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1419 if (First->getMostRecentDecl() != First) { in VisitRedeclarable()
1432 (void)Writer.GetDeclRef(First->getMostRecentDecl()); in VisitRedeclarable()
DASTReaderDecl.cpp3018 Decl *MostRecent = CanonDecl->getMostRecentDecl(); in loadPendingDeclChain()
3202 for (auto *D = FD->getMostRecentDecl(); /**/; in UpdateDecl()
3292 for (auto *Redecl = D->getMostRecentDecl(); /**/; in UpdateDecl()
DASTReader.cpp5977 cast<Decl>(DC)->getMostRecentDecl(); in CompleteRedeclChain()
8300 D = D->getMostRecentDecl(); in pushExternalDeclIntoScope()
/external/clang/lib/Analysis/
DThreadSafety.cpp324 const CXXMethodDecl *MD = CMCE->getMethodDecl()->getMostRecentDecl(); in buildSExpr()
352 const FunctionDecl *FD = CE->getDirectCallee()->getMostRecentDecl(); in buildSExpr()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1517 FD = FD->getMostRecentDecl(); in GetOrCreateLLVMFunction()
3339 const Decl *D = I.first.getDecl()->getMostRecentDecl(); in EmitTargetMetadata()
DMicrosoftCXXABI.cpp1952 RD = RD->getMostRecentDecl(); in BuildMemberPointer()

12