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

12

/external/clang/include/clang/AST/
H A DDeclTemplate.h640 return getMostRecentDecl();
670 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
810 using redeclarable_base::getMostRecentDecl;
937 FunctionTemplateDecl *getMostRecentDecl() { function in class:clang::FunctionTemplateDecl
940 ->getMostRecentDecl());
942 const FunctionTemplateDecl *getMostRecentDecl() const { function in class:clang::FunctionTemplateDecl
943 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl();
1599 // FIXME: This is broken. CXXRecordDecl::getMostRecentDecl() returns a
1604 ClassTemplateSpecializationDecl *getMostRecentDecl() { function in class:clang::ClassTemplateSpecializationDecl
1606 this)->getMostRecentDecl();
1830 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() { function in class:clang::ClassTemplatePartialSpecializationDecl
2043 ClassTemplateDecl *getMostRecentDecl() { function in class:clang::ClassTemplateDecl
2047 const ClassTemplateDecl *getMostRecentDecl() const { function in class:clang::ClassTemplateDecl
2444 VarTemplateSpecializationDecl *getMostRecentDecl() { function in class:clang::VarTemplateSpecializationDecl
2659 VarTemplatePartialSpecializationDecl *getMostRecentDecl() { function in class:clang::VarTemplatePartialSpecializationDecl
2852 VarTemplateDecl *getMostRecentDecl() { function in class:clang::VarTemplateDecl
2856 const VarTemplateDecl *getMostRecentDecl() const { function in class:clang::VarTemplateDecl
[all...]
H A DDecl.h401 NamedDecl *getMostRecentDecl() { function in class:clang::NamedDecl
402 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl());
404 const NamedDecl *getMostRecentDecl() const { function in class:clang::NamedDecl
405 return const_cast<NamedDecl*>(this)->getMostRecentDecl();
509 using redeclarable_base::getMostRecentDecl;
923 return getMostRecentDecl();
933 using redeclarable_base::getMostRecentDecl;
1707 return getMostRecentDecl();
1717 using redeclarable_base::getMostRecentDecl;
2629 return getMostRecentDecl();
[all...]
H A DRedeclarable.h166 decl_type *getMostRecentDecl() { function in class:clang::Redeclarable
171 const decl_type *getMostRecentDecl() const { function in class:clang::Redeclarable
H A DDeclCXX.h589 getMostRecentDecl();
669 CXXRecordDecl *getMostRecentDecl() { function in class:clang::CXXRecordDecl
671 static_cast<RecordDecl *>(this)->getMostRecentDecl());
674 const CXXRecordDecl *getMostRecentDecl() const { function in class:clang::CXXRecordDecl
675 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl();
1811 CXXMethodDecl *getMostRecentDecl() { function in class:clang::CXXMethodDecl
1813 static_cast<FunctionDecl *>(this)->getMostRecentDecl());
1815 const CXXMethodDecl *getMostRecentDecl() const { function in class:clang::CXXMethodDecl
1816 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl();
2769 using redeclarable_base::getMostRecentDecl;
[all...]
H A DDeclObjC.h1194 return getMostRecentDecl();
1446 getMostRecentDecl();
1811 using redeclarable_base::getMostRecentDecl;
2006 return getMostRecentDecl();
2092 getMostRecentDecl();
2133 using redeclarable_base::getMostRecentDecl;
H A DDeclBase.h781 /// \brief Implementation of getMostRecentDecl(), to be overridden by any
858 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } function
862 const Decl *getMostRecentDecl() const { function
/external/clang/lib/AST/
H A DDeclTemplate.cpp170 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr;
274 Common *CommonPtr = getMostRecentDecl()->getCommonPtr();
348 Common *CommonPtr = getMostRecentDecl()->getCommonPtr();
417 PS.push_back(P.getMostRecentDecl());
426 return P.getMostRecentDecl();
438 return P.getMostRecentDecl();
968 Common *CommonPtr = getMostRecentDecl()->getCommonPtr();
1036 PS.push_back(P.getMostRecentDecl());
1045 return P.getMostRecentDecl();
H A DDeclBase.cpp351 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>())
356 return getMostRecentDecl()->getCanonicalDecl()->Used;
1065 for (NamespaceDecl *N = Self->getMostRecentDecl(); N;
1420 (void)cast<Decl>(this)->getMostRecentDecl();
H A DDeclCXX.cpp2107 return getMostRecentDecl();
2119 return getMostRecentDecl();
H A DMicrosoftMangle.cpp1252 cast<CXXRecordDecl>(ND->getDeclContext())->getMostRecentDecl(),
1257 mangleMemberFunctionPointer(MD->getParent()->getMostRecentDecl(), MD);
H A DDecl.cpp1046 assert(!IsMostRecent || ND == ND->getMostRecentDecl());
1069 const NamedDecl *MostRecent = ND->getMostRecentDecl();
2809 for (const FunctionDecl *FD = getMostRecentDecl(); FD;
H A DDeclObjC.cpp297 for (auto decl = getMostRecentDecl(); decl; decl = decl->getPreviousDecl()) {
H A DType.cpp1947 RD = RD->getMostRecentDecl();
3783 return getClass()->getAsCXXRecordDecl()->getMostRecentDecl();
/external/clang/lib/Sema/
H A DSema.cpp426 if (D->getMostRecentDecl()->isUsed())
441 DeclToCheck = FD->getMostRecentDecl();
464 DeclToCheck = VD->getMostRecentDecl();
489 !FD->getMostRecentDecl()->isInlined())
495 if (VD->isExternallyVisible() && !VD->getMostRecentDecl()->isInline())
529 assert(FD->getMostRecentDecl()->isInlined() &&
534 assert(cast<VarDecl>(ND)->getMostRecentDecl()->isInline() &&
H A DIdentifierResolver.cpp275 Decl *MostRecent = Existing->getMostRecentDecl();
H A DSemaTemplateInstantiateDecl.cpp3615 for (auto *D = Function->getMostRecentDecl(); /**/;
4894 if (Var->getMostRecentDecl()->isInvalidDecl())
4899 switch (Var->getMostRecentDecl()->getTemplateSpecializationKind()) {
4908 if (Var != Var->getMostRecentDecl()) continue;
H A DSemaTemplate.cpp3758 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl())
8688 diagnose(Spec->getMostRecentDecl(), false);
8734 diagnose(TD->getMostRecentDecl(), false);
H A DSemaDecl.cpp2429 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) {
3273 if (Old->getMostRecentDecl()->isUsed(false))
3371 for (VarDecl *PrevVD = Old->getMostRecentDecl(); PrevVD;
3546 VarDecl *MostRecent = Old->getMostRecentDecl();
3624 if (New->isInline() && !Old->getMostRecentDecl()->isInline()) {
3694 if (Old->getMostRecentDecl()->isUsed(false))
H A DSemaExprObjC.cpp3477 if (RecordDecl *RD = RT->getDecl()->getMostRecentDecl())
H A DSemaExpr.cpp180 for (Decl *Redecl = D->getMostRecentDecl(); Redecl && Warn;
13124 else if (Func->getMostRecentDecl()->isInlined() &&
13126 !Func->getMostRecentDecl()->hasAttr<GNUInlineAttr>())
/external/clang/lib/Serialization/
H A DASTWriterDecl.cpp167 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) {
375 D->getFirstDecl() == D->getMostRecentDecl() &&
441 D->getFirstDecl() == D->getMostRecentDecl() &&
470 D->getFirstDecl() == D->getMostRecentDecl() &&
942 D->getFirstDecl() == D->getMostRecentDecl() &&
1086 D == D->getMostRecentDecl()) {
1210 D->getFirstDecl() == D->getMostRecentDecl() &&
1584 T *MostRecent = First->getMostRecentDecl();
1610 for (const Decl *Prev = FirstLocal->getMostRecentDecl();
H A DASTReaderDecl.cpp230 static Decl *getMostRecentDecl(Decl *D);
420 Current = Current->getMostRecentDecl();
3015 llvm_unreachable("getMostRecentDecl on non-redeclarable declaration");
3018 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { function in class:ASTDeclReader
3032 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl());
3539 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl);
3701 auto *MostRecent = D->getMostRecentDecl();
/external/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp355 const FunctionDecl *FD = CE->getDirectCallee()->getMostRecentDecl();
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp1957 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD;
4149 const Decl *D = Val.first.getDecl()->getMostRecentDecl();
H A DMicrosoftCXXABI.cpp2675 const CXXRecordDecl *RD = MD->getParent()->getMostRecentDecl();

Completed in 1015 milliseconds

12