Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DRedeclarable.h100 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
105 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
DDecl.h338 return getMostRecentDecl(); in getMostRecentDeclImpl()
353 using redeclarable_base::getMostRecentDecl;
747 return getMostRecentDecl(); in getMostRecentDeclImpl()
755 using redeclarable_base::getMostRecentDecl;
1499 return getMostRecentDecl(); in getMostRecentDeclImpl()
1507 using redeclarable_base::getMostRecentDecl;
2294 return getMostRecentDecl(); in getMostRecentDeclImpl()
2302 using redeclarable_base::getMostRecentDecl;
2466 return getMostRecentDecl(); in getMostRecentDeclImpl()
2479 using redeclarable_base::getMostRecentDecl;
[all …]
DDeclTemplate.h538 return getMostRecentDecl(); in getMostRecentDeclImpl()
545 static DeclType *getMostRecentDecl(EntryType *D) { in getMostRecentDecl() function
546 return D->getMostRecentDecl(); in getMostRecentDecl()
569 return SETraits::getMostRecentDecl(&*SetIter);
715 using redeclarable_base::getMostRecentDecl;
733 getMostRecentDecl(FunctionTemplateSpecializationInfo *I) {
734 return I->Function->getMostRecentDecl();
1440 ClassTemplateSpecializationDecl *getMostRecentDecl() {
1442 = cast<CXXRecordDecl>(CXXRecordDecl::getMostRecentDecl());
1693 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() {
[all …]
DDeclCXX.h639 const CXXRecordDecl *getMostRecentDecl() const {
640 return cast_or_null<CXXRecordDecl>(RecordDecl::getMostRecentDecl());
642 CXXRecordDecl *getMostRecentDecl() {
643 return cast_or_null<CXXRecordDecl>(RecordDecl::getMostRecentDecl());
DDeclObjC.h700 return getMostRecentDecl(); in getMostRecentDeclImpl()
1185 using redeclarable_base::getMostRecentDecl;
1375 return getMostRecentDecl(); in getMostRecentDeclImpl()
1491 using redeclarable_base::getMostRecentDecl;
DDeclBase.h758 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
762 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
/external/clang/lib/Sema/
DSema.cpp332 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
347 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
361 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
406 !FD->getMostRecentDecl()->isInlined()) in getUndefinedButUsed()
442 assert(cast<FunctionDecl>(ND)->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
DIdentifierResolver.cpp306 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
DSemaTemplateInstantiateDecl.cpp3657 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
3662 switch (Var->getMostRecentDecl()->getTemplateSpecializationKind()) { in PerformPendingInstantiations()
3671 if (Var != Var->getMostRecentDecl()) continue; in PerformPendingInstantiations()
DSemaExpr.cpp10603 else if (Func->getMostRecentDecl()->isInlined() && in MarkFunctionReferenced()
10605 !Func->getMostRecentDecl()->hasAttr<GNUInlineAttr>()) in MarkFunctionReferenced()
10615 for (FunctionDecl *F = Func->getMostRecentDecl();; F = F->getPreviousDecl()) { in MarkFunctionReferenced()
DSemaDeclCXX.cpp6022 for (NamespaceDecl *NS = PrevNS->getMostRecentDecl(); NS; in DiagnoseNamespaceInlineMismatch()
/external/clang/lib/AST/
DDeclTemplate.cpp172 return Entry ? SETraits::getMostRecentDecl(Entry) : 0; in findSpecializationImpl()
389 PS[P->getSequenceNumber()] = P->getMostRecentDecl(); in getPartialSpecializations()
403 return P->getMostRecentDecl(); in findPartialSpecialization()
418 return P->getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
DDeclBase.cpp906 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts()
DDecl.cpp952 const NamedDecl *MostRecent = cast<NamedDecl>(this->getMostRecentDecl()); in getExplicitVisibility()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp192 D->getFirstDeclaration() == D->getMostRecentDecl() && in VisitTypedefDecl()
248 D->getFirstDeclaration() == D->getMostRecentDecl() && in VisitEnumDecl()
274 D->getFirstDeclaration() == D->getMostRecentDecl() && in VisitRecordDecl()
716 D->getFirstDeclaration() == D->getMostRecentDecl() && in VisitVarDecl()
864 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1296 if (First->getMostRecentDecl() != First) { in VisitRedeclarable()
1309 (void)Writer.GetDeclRef(First->getMostRecentDecl()); in VisitRedeclarable()
DASTReader.cpp5825 NamedDecl *ND = cast<NamedDecl>(PreloadedDecls[I]->getMostRecentDecl()); in InitializeSema()
6227 NamedDecl *ND = cast<NamedDecl>(D->getMostRecentDecl()); in SetGloballyVisibleDecls()
7011 NamedDecl *ND = cast<NamedDecl>(TLD->second[I]->getMostRecentDecl()); in finishPendingActions()
DASTReaderDecl.cpp2365 Decl *MostRecent = CanonDecl->getMostRecentDecl(); in loadPendingDeclChain()
DASTWriter.cpp3246 Decl *MostRecent = First->getMostRecentDecl(); in WriteRedeclarations()
/external/clang/lib/Analysis/
DThreadSafety.cpp327 cast<CXXMethodDecl>(CMCE->getMethodDecl()->getMostRecentDecl()); in buildSExpr()
357 cast<FunctionDecl>(CE->getDirectCallee()->getMostRecentDecl()); in buildSExpr()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1317 FD = FD->getMostRecentDecl(); in GetOrCreateLLVMFunction()