/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 635 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 …]
|
D | Decl.h | 331 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 …]
|
D | DeclCXX.h | 268 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 …]
|
D | Redeclarable.h | 158 decl_type *getMostRecentDecl() { in getMostRecentDecl() function 163 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
|
D | DeclObjC.h | 954 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;
|
D | DeclBase.h | 844 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function 848 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
|
/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 176 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()
|
D | DeclBase.cpp | 1021 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts() 1376 (void)cast<Decl>(this)->getMostRecentDecl(); in lookup()
|
D | DeclCXX.cpp | 2027 return getMostRecentDecl(); in getMostRecentDeclImpl() 2039 return getMostRecentDecl(); in getMostRecentDeclImpl()
|
D | Decl.cpp | 1043 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux() 1066 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux() 2728 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
|
D | MicrosoftMangle.cpp | 1204 cast<CXXRecordDecl>(ND->getDeclContext())->getMostRecentDecl(), in mangleTemplateArg() 1209 mangleMemberFunctionPointer(MD->getParent()->getMostRecentDecl(), MD); in mangleTemplateArg()
|
D | Type.cpp | 1941 RD = RD->getMostRecentDecl(); in isIncompleteType() 3783 return getClass()->getAsCXXRecordDecl()->getMostRecentDecl(); in getMostRecentCXXRecordDecl()
|
D | ExprCXX.cpp | 71 if (const UuidAttr *Uuid = RD->getMostRecentDecl()->getAttr<UuidAttr>()) in GetUuidAttrOfType()
|
D | DeclObjC.cpp | 272 for (auto decl = getMostRecentDecl(); decl; decl = decl->getPreviousDecl()) { in getTypeParamList()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 427 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()
|
D | IdentifierResolver.cpp | 275 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
|
D | SemaTemplateInstantiateDecl.cpp | 3443 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()
|
D | SemaDecl.cpp | 2373 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()
|
D | SemaExpr.cpp | 176 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()
|
D | SemaExprObjC.cpp | 3448 if (RecordDecl *RD = RT->getDecl()->getMostRecentDecl()) in getObjCBridgeAttr()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 168 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()
|
D | ASTReaderDecl.cpp | 208 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/ |
D | ThreadSafetyCommon.cpp | 355 const FunctionDecl *FD = CE->getDirectCallee()->getMostRecentDecl(); in translateCallExpr()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1862 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction() 3834 const Decl *D = Val.first.getDecl()->getMostRecentDecl(); in EmitTargetMetadata()
|
D | MicrosoftCXXABI.cpp | 2667 const CXXRecordDecl *RD = MD->getParent()->getMostRecentDecl(); in EmitMemberFunctionPointer()
|