Home
last modified time | relevance | path

Searched refs:FunTmpl (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp452 if (const auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() local
454 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration()
497 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() local
499 FunctionToPush = FunTmpl->getTemplatedDecl(); in ParseLexedMethodDeclaration()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp118 else if (const auto *FunTmpl = dyn_cast_or_null<FunctionTemplateDecl>(D)) in getBody() local
119 return FunTmpl->getTemplatedDecl()->getBody(); in getBody()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp767 auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() local
768 if (FunTmpl) in addedMember()
769 D = FunTmpl->getTemplatedDecl(); in addedMember()
855 if (!FunTmpl) { in addedMember()
926 FunTmpl ? cast<NamedDecl>(FunTmpl) : cast<NamedDecl>(Conversion); in addedMember()
H A DDecl.cpp3669 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() local
3673 FunTmpl->setPreviousDecl(PrevFunTmpl); in setPreviousDeclaration()
4473 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in isOutOfLine() local
4475 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp238 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() local
241 VisitTemplateParameterList(FunTmpl->getTemplateParameters()); in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp7593 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddFunctionCandidates() local
7595 FunTmpl ? FunTmpl->getTemplatedDecl() : cast<FunctionDecl>(D); in AddFunctionCandidates()
7613 if (FunTmpl) { in AddFunctionCandidates()
7615 FunTmpl, F.getPair(), in AddFunctionCandidates()
7616 cast<CXXRecordDecl>(FunTmpl->getDeclContext()), in AddFunctionCandidates()
7637 if (FunTmpl) { in AddFunctionCandidates()
7638 AddTemplateOverloadCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates()
8679 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddNonMemberOperatorCandidates() local
8681 FunTmpl ? FunTmpl->getTemplatedDecl() : cast<FunctionDecl>(D); in AddNonMemberOperatorCandidates()
8690 if (FunTmpl) { in AddNonMemberOperatorCandidates()
[all …]
H A DSemaTemplate.cpp9297 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Ovl)) { in CheckFunctionTemplateSpecialization() local
9317 auto *OldMD = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckFunctionTemplateSpecialization()
9341 cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()), in CheckFunctionTemplateSpecialization()
9347 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
9363 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
10604 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Prev); in ActOnExplicitInstantiation() local
10605 if (!FunTmpl) in ActOnExplicitInstantiation()
10611 FunTmpl, (HasExplicitTemplateArgs ? &TemplateArgs : nullptr), R, in ActOnExplicitInstantiation()
10616 P.getPair(), FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation()
10632 P.getPair(), FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation()
[all …]
H A DSemaCodeComplete.cpp3747 if (const FunctionTemplateDecl *FunTmpl = in createCodeCompletionStringForDecl() local
3751 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in createCodeCompletionStringForDecl()
3759 llvm::SmallBitVector Deduced(FunTmpl->getTemplateParameters()->size()); in createCodeCompletionStringForDecl()
3763 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in createCodeCompletionStringForDecl()
3772 NamedDecl *Param = FunTmpl->getTemplateParameters()->getParam( in createCodeCompletionStringForDecl()
3804 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result, in createCodeCompletionStringForDecl()
H A DSemaStmt.cpp2411 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction() local
2413 FunTmpl->getTemplateParameters(), *D->getTemplateSpecializationArgs()); in NoteForRangeBeginEndFunction()
H A DSemaTemplateDeduction.cpp4172 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() local
4182 if (S.DeduceTemplateArguments(FunTmpl, &ExplicitTemplateArgs, in ResolveOverloadForDeduction()
H A DSemaDeclCXX.cpp3652 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member)) in ActOnCXXMemberDeclarator() local
3653 NonTemplateMember = FunTmpl->getTemplatedDecl(); in ActOnCXXMemberDeclarator()
H A DSemaDecl.cpp15875 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in ActOnStartOfFunctionDef() local
15876 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef()