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.cpp470 if (const auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() local
472 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration()
515 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() local
517 FunctionToPush = FunTmpl->getTemplatedDecl(); in ParseLexedMethodDeclaration()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp120 else if (const auto *FunTmpl = dyn_cast_or_null<FunctionTemplateDecl>(D)) in getBody() local
121 return FunTmpl->getTemplatedDecl()->getBody(); in getBody()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp760 auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() local
761 if (FunTmpl) in addedMember()
762 D = FunTmpl->getTemplatedDecl(); in addedMember()
848 if (!FunTmpl) { in addedMember()
919 FunTmpl ? cast<NamedDecl>(FunTmpl) : cast<NamedDecl>(Conversion); in addedMember()
H A DDecl.cpp3598 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() local
3602 FunTmpl->setPreviousDecl(PrevFunTmpl); in setPreviousDeclaration()
4378 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in isOutOfLine() local
4380 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp242 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() local
245 VisitTemplateParameterList(FunTmpl->getTemplateParameters()); in VisitFunctionDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp8809 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Ovl)) { in CheckFunctionTemplateSpecialization() local
8829 auto *OldMD = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckFunctionTemplateSpecialization()
8853 cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()), in CheckFunctionTemplateSpecialization()
8859 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
8875 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
10064 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Prev); in ActOnExplicitInstantiation() local
10065 if (!FunTmpl) in ActOnExplicitInstantiation()
10071 FunTmpl, (HasExplicitTemplateArgs ? &TemplateArgs : nullptr), R, in ActOnExplicitInstantiation()
10076 .set(P.getPair(), FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation()
10092 P.getPair(), FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation()
[all …]
H A DSemaOverload.cpp7302 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddFunctionCandidates() local
7304 FunTmpl ? FunTmpl->getTemplatedDecl() : cast<FunctionDecl>(D); in AddFunctionCandidates()
7322 if (FunTmpl) { in AddFunctionCandidates()
7324 FunTmpl, F.getPair(), in AddFunctionCandidates()
7325 cast<CXXRecordDecl>(FunTmpl->getDeclContext()), in AddFunctionCandidates()
7346 if (FunTmpl) { in AddFunctionCandidates()
7347 AddTemplateOverloadCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates()
8224 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddNonMemberOperatorCandidates() local
8226 FunTmpl ? FunTmpl->getTemplatedDecl() : cast<FunctionDecl>(D); in AddNonMemberOperatorCandidates()
8235 if (FunTmpl) { in AddNonMemberOperatorCandidates()
[all …]
H A DSemaCodeComplete.cpp3584 if (const FunctionTemplateDecl *FunTmpl = in createCodeCompletionStringForDecl() local
3588 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in createCodeCompletionStringForDecl()
3596 llvm::SmallBitVector Deduced(FunTmpl->getTemplateParameters()->size()); in createCodeCompletionStringForDecl()
3600 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in createCodeCompletionStringForDecl()
3609 NamedDecl *Param = FunTmpl->getTemplateParameters()->getParam( in createCodeCompletionStringForDecl()
3641 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result, in createCodeCompletionStringForDecl()
H A DSemaStmt.cpp2305 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction() local
2307 FunTmpl->getTemplateParameters(), *D->getTemplateSpecializationArgs()); in NoteForRangeBeginEndFunction()
H A DSemaTemplateDeduction.cpp4086 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() local
4096 if (S.DeduceTemplateArguments(FunTmpl, &ExplicitTemplateArgs, in ResolveOverloadForDeduction()
H A DSemaDeclCXX.cpp3539 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member)) in ActOnCXXMemberDeclarator() local
3540 NonTemplateMember = FunTmpl->getTemplatedDecl(); in ActOnCXXMemberDeclarator()
H A DSemaDecl.cpp15424 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in ActOnStartOfFunctionDef() local
15425 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef()