/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 640 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 …]
|
D | Decl.h | 401 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 …]
|
D | Redeclarable.h | 166 decl_type *getMostRecentDecl() { in getMostRecentDecl() function 171 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
|
D | DeclCXX.h | 589 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 …]
|
D | DeclObjC.h | 1194 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;
|
D | DeclBase.h | 858 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function 862 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclTemplate.h | 761 return getMostRecentDecl(); in getMostRecentDeclImpl() 793 return SETraits::getDecl(&*this->I)->getMostRecentDecl(); 947 using redeclarable_base::getMostRecentDecl; 1063 FunctionTemplateDecl *getMostRecentDecl() { 1066 ->getMostRecentDecl()); 1068 const FunctionTemplateDecl *getMostRecentDecl() const { 1069 return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl(); 1876 ClassTemplateSpecializationDecl *getMostRecentDecl() { 2120 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() { 2123 this)->getMostRecentDecl()); [all …]
|
D | Decl.h | 443 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function 444 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 446 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function 447 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() 556 using redeclarable_base::getMostRecentDecl; 1018 return getMostRecentDecl(); in getMostRecentDeclImpl() 1029 using redeclarable_base::getMostRecentDecl; 1959 return getMostRecentDecl(); in getMostRecentDeclImpl() 1973 using redeclarable_base::getMostRecentDecl; 3153 return getMostRecentDecl(); in getMostRecentDeclImpl() [all …]
|
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() 2019 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function 2021 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl() 2023 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function 2024 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl() [all …]
|
D | Redeclarable.h | 225 decl_type *getMostRecentDecl() { in getMostRecentDecl() function 230 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
|
D | DeclObjC.h | 1279 return getMostRecentDecl(); in getMostRecentDeclImpl() 1539 getMostRecentDecl(); in hasDefinition() 1909 using redeclarable_base::getMostRecentDecl; 2103 return getMostRecentDecl(); in getMostRecentDeclImpl() 2210 getMostRecentDecl(); in hasDefinition() 2252 using redeclarable_base::getMostRecentDecl;
|
D | DeclBase.h | 999 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function 1003 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
|
/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 170 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()
|
D | DeclBase.cpp | 351 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()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 426 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()
|
D | IdentifierResolver.cpp | 275 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclTemplate.cpp | 260 CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); in loadLazySpecializationsImpl() 281 return Entry ? SETraits::getDecl(Entry)->getMostRecentDecl() : nullptr; in findSpecializationImpl() 537 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 546 return P.getMostRecentDecl(); in findPartialSpecialization() 558 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember() 1211 PS.push_back(P.getMostRecentDecl()); in getPartialSpecializations() 1220 return P.getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
|
D | DeclBase.cpp | 450 if (CheckUsedAttr && getMostRecentDecl()->hasAttr<UsedAttr>()) in isUsed() 455 return getMostRecentDecl()->getCanonicalDecl()->Used; in isUsed() 723 for (const auto *A : getMostRecentDecl()->attrs()) { in isWeakImported() 1299 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts() 1683 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
|
D | TemplateName.cpp | 165 Decl = cast<TemplateDecl>(Decl->getMostRecentDecl()); in getNameToSubstitute()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 167 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()
|
D | ASTReaderDecl.cpp | 230 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/llvm-project/clang/lib/Sema/ |
D | Sema.cpp | 623 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused() 645 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused() 675 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused() 728 !FD->getMostRecentDecl()->isInlined() && in getUndefinedButUsed() 739 !VD->getMostRecentDecl()->isInline() && in getUndefinedButUsed() 789 assert(FD->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed() 794 assert(cast<VarDecl>(VD)->getMostRecentDecl()->isInline() && in checkUndefinedButUsed()
|
D | IdentifierResolver.cpp | 279 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 181 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule() 391 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl() 459 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl() 496 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()
|
D | ASTReaderDecl.cpp | 282 static Decl *getMostRecentDecl(Decl *D); 477 Current = Current->getMostRecentDecl(); in operator ++() 3519 Decl *ASTDeclReader::getMostRecentDecl(Decl *D) { in getMostRecentDecl() function in ASTDeclReader 3533 return ASTDeclReader::getMostRecentDecl(D->getCanonicalDecl()); in getMostRecentExistingDecl() 4232 Decl *PrevMostRecent = ASTDeclReader::getMostRecentDecl(CanonDecl); in loadPendingDeclChain() 4406 auto *MostRecent = D->getMostRecentDecl(); in forAllLaterRedecls()
|