Home
last modified time | relevance | path

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

/trueos/contrib/llvm/tools/clang/include/clang/AST/
HDDeclTemplate.h540 return getMostRecentDecl(); in getMostRecentDeclImpl()
547 static DeclType *getMostRecentDecl(EntryType *D) { in getMostRecentDecl() function
548 return D->getMostRecentDecl(); in getMostRecentDecl()
571 return SETraits::getMostRecentDecl(&*SetIter);
717 using redeclarable_base::getMostRecentDecl;
736 getMostRecentDecl(FunctionTemplateSpecializationInfo *I) {
737 return I->Function->getMostRecentDecl();
1451 ClassTemplateSpecializationDecl *getMostRecentDecl() {
1453 this)->getMostRecentDecl();
1693 ClassTemplatePartialSpecializationDecl *getMostRecentDecl() {
[all …]
HDDecl.h276 NamedDecl *getMostRecentDecl() { in getMostRecentDecl() function
277 return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
279 const NamedDecl *getMostRecentDecl() const { in getMostRecentDecl() function
280 return const_cast<NamedDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
362 return getMostRecentDecl(); in getMostRecentDeclImpl()
377 using redeclarable_base::getMostRecentDecl;
777 return getMostRecentDecl(); in getMostRecentDeclImpl()
785 using redeclarable_base::getMostRecentDecl;
1567 return getMostRecentDecl(); in getMostRecentDeclImpl()
1575 using redeclarable_base::getMostRecentDecl;
[all …]
HDRedeclarable.h98 decl_type *getMostRecentDecl() { in getMostRecentDecl() function
103 const decl_type *getMostRecentDecl() const { in getMostRecentDecl() function
HDDeclCXX.h649 CXXRecordDecl *getMostRecentDecl() { in getMostRecentDecl() function
651 static_cast<RecordDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
654 const CXXRecordDecl *getMostRecentDecl() const { in getMostRecentDecl() function
655 return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
1713 CXXMethodDecl *getMostRecentDecl() { in getMostRecentDecl() function
1715 static_cast<FunctionDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
1717 const CXXMethodDecl *getMostRecentDecl() const { in getMostRecentDecl() function
1718 return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
2697 return getMostRecentDecl(); in getMostRecentDeclImpl()
2713 using redeclarable_base::getMostRecentDecl;
HDDeclObjC.h706 return getMostRecentDecl(); in getMostRecentDeclImpl()
1203 using redeclarable_base::getMostRecentDecl;
1401 return getMostRecentDecl(); in getMostRecentDeclImpl()
1517 using redeclarable_base::getMostRecentDecl;
HDDeclBase.h796 Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); } in getMostRecentDecl() function
800 const Decl *getMostRecentDecl() const { in getMostRecentDecl() function
/trueos/contrib/llvm/tools/clang/lib/AST/
HDDeclTemplate.cpp173 return Entry ? SETraits::getMostRecentDecl(Entry) : 0; in findSpecializationImpl()
405 PS.push_back(P->getMostRecentDecl()); in getPartialSpecializations()
418 return P->getMostRecentDecl(); in findPartialSpecialization()
433 return P->getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
1072 PS.push_back(P->getMostRecentDecl()); in getPartialSpecializations()
1084 return P->getMostRecentDecl(); in findPartialSpecInstantiatedFromMember()
HDDeclBase.cpp910 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts()
HDDecl.cpp956 assert(!IsMostRecent || ND == ND->getMostRecentDecl()); in getExplicitVisibilityAux()
980 const NamedDecl *MostRecent = ND->getMostRecentDecl(); in getExplicitVisibilityAux()
HDASTContext.cpp2096 FD = FD->getMostRecentDecl(); in adjustDeducedFunctionResultType()
/trueos/contrib/llvm/tools/clang/lib/Sema/
HDSema.cpp341 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
356 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
379 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
424 !FD->getMostRecentDecl()->isInlined()) in getUndefinedButUsed()
460 assert(cast<FunctionDecl>(ND)->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
HDIdentifierResolver.cpp268 Decl *MostRecent = Existing->getMostRecentDecl(); in compareDeclarations()
HDSemaTemplateInstantiateDecl.cpp4594 if (Var->getMostRecentDecl()->isInvalidDecl()) in PerformPendingInstantiations()
4599 switch (Var->getMostRecentDecl()->getTemplateSpecializationKind()) { in PerformPendingInstantiations()
4608 if (Var != Var->getMostRecentDecl()) continue; in PerformPendingInstantiations()
HDSemaDecl.cpp2120 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes()
2832 if (Old->getMostRecentDecl()->isUsed(false)) in MergeCompatibleFunctionDecls()
3146 if (Old->getMostRecentDecl()->isUsed(false)) in MergeVarDecl()
4563 return D ? D->getMostRecentDecl() : 0; in findLocallyScopedExternCDecl()
HDSemaExpr.cpp11290 else if (Func->getMostRecentDecl()->isInlined() && in MarkFunctionReferenced()
11292 !Func->getMostRecentDecl()->hasAttr<GNUInlineAttr>()) in MarkFunctionReferenced()
11302 for (FunctionDecl *F = Func->getMostRecentDecl();; F = F->getPreviousDecl()) { in MarkFunctionReferenced()
HDSemaDeclCXX.cpp6462 for (NamespaceDecl *NS = PrevNS->getMostRecentDecl(); NS; in DiagnoseNamespaceInlineMismatch()
/trueos/contrib/llvm/tools/clang/lib/Serialization/
HDASTWriterDecl.cpp202 D->getFirstDecl() == D->getMostRecentDecl() && in VisitTypedefDecl()
261 D->getFirstDecl() == D->getMostRecentDecl() && in VisitEnumDecl()
287 D->getFirstDecl() == D->getMostRecentDecl() && in VisitRecordDecl()
746 D->getFirstDecl() == D->getMostRecentDecl() && in VisitVarDecl()
906 D == D->getMostRecentDecl()) { in VisitNamespaceDecl()
1408 if (First->getMostRecentDecl() != First) { in VisitRedeclarable()
1421 (void)Writer.GetDeclRef(First->getMostRecentDecl()); in VisitRedeclarable()
HDASTReaderDecl.cpp2792 Decl *MostRecent = CanonDecl->getMostRecentDecl(); in loadPendingDeclChain()
HDASTWriter.cpp3537 Decl *MostRecent = First->getMostRecentDecl(); in WriteRedeclarations()
HDASTReader.cpp7574 D = D->getMostRecentDecl(); in pushExternalDeclIntoScope()
/trueos/contrib/llvm/tools/clang/lib/Analysis/
HDThreadSafety.cpp331 const CXXMethodDecl *MD = CMCE->getMethodDecl()->getMostRecentDecl(); in buildSExpr()
359 const FunctionDecl *FD = CE->getDirectCallee()->getMostRecentDecl(); in buildSExpr()
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenModule.cpp1466 FD = FD->getMostRecentDecl(); in GetOrCreateLLVMFunction()