/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/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()
|
D | DeclCXX.cpp | 2107 return getMostRecentDecl(); in getMostRecentDeclImpl() 2119 return getMostRecentDecl(); in getMostRecentDeclImpl()
|
D | Decl.cpp | 1046 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux() 1069 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux() 2809 for (const FunctionDecl *FD = getMostRecentDecl(); FD; in isMSExternInline()
|
D | MicrosoftMangle.cpp | 1252 cast<CXXRecordDecl>(ND->getDeclContext())->getMostRecentDecl(), in mangleTemplateArg() 1257 mangleMemberFunctionPointer(MD->getParent()->getMostRecentDecl(), MD); in mangleTemplateArg()
|
D | Type.cpp | 1947 RD = RD->getMostRecentDecl(); in isIncompleteType() 3783 return getClass()->getAsCXXRecordDecl()->getMostRecentDecl(); in getMostRecentCXXRecordDecl()
|
D | DeclObjC.cpp | 297 for (auto decl = getMostRecentDecl(); decl; decl = decl->getPreviousDecl()) { in getTypeParamList()
|
/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()
|
D | SemaTemplateInstantiateDecl.cpp | 3615 for (auto *D = Function->getMostRecentDecl(); /**/; in InstantiateFunctionDefinition() 4894 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations() 4899 switch (Var->getMostRecentDecl()->getTemplateSpecializationKind()) { in PerformPendingInstantiations() 4908 if (Var != Var->getMostRecentDecl()) continue; in PerformPendingInstantiations()
|
D | SemaDecl.cpp | 2429 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes() 3273 if (Old->getMostRecentDecl()->isUsed(false)) in MergeCompatibleFunctionDecls() 3371 for (VarDecl *PrevVD = Old->getMostRecentDecl(); PrevVD; in MergeVarDeclTypes() 3546 VarDecl *MostRecent = Old->getMostRecentDecl(); in MergeVarDecl() 3624 if (New->isInline() && !Old->getMostRecentDecl()->isInline()) { in MergeVarDecl() 3694 if (Old->getMostRecentDecl()->isUsed(false)) in MergeVarDecl()
|
D | SemaTemplate.cpp | 3758 D = cast<TemplateParmDecl>(cast<TemplateDecl>(TD->getMostRecentDecl()) in diagnoseMissingArgument() 8688 diagnose(Spec->getMostRecentDecl(), false); in checkImpl() 8734 diagnose(TD->getMostRecentDecl(), false); in checkTemplate()
|
D | SemaExprObjC.cpp | 3477 if (RecordDecl *RD = RT->getDecl()->getMostRecentDecl()) in getObjCBridgeAttr()
|
D | SemaExpr.cpp | 180 for (Decl *Redecl = D->getMostRecentDecl(); Redecl && Warn; in DiagnoseAvailabilityOfDecl() 13124 else if (Func->getMostRecentDecl()->isInlined() && in MarkFunctionReferenced() 13126 !Func->getMostRecentDecl()->hasAttr<GNUInlineAttr>()) in MarkFunctionReferenced()
|
/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/clang/lib/Analysis/ |
D | ThreadSafetyCommon.cpp | 355 const FunctionDecl *FD = CE->getDirectCallee()->getMostRecentDecl(); in translateCallExpr()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1957 for (const auto *FD = cast<FunctionDecl>(D)->getMostRecentDecl(); FD; in GetOrCreateLLVMFunction() 4149 const Decl *D = Val.first.getDecl()->getMostRecentDecl(); in EmitTargetMetadata()
|
D | MicrosoftCXXABI.cpp | 2675 const CXXRecordDecl *RD = MD->getParent()->getMostRecentDecl(); in EmitMemberFunctionPointer()
|