Home
last modified time | relevance | path

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

/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()
517 FunctionToPush = FunTmpl->getTemplatedDecl(); in ParseLexedMethodDeclaration()
514 if (FunctionTemplateDecl *FunTmpl ParseLexedMethodDeclaration() local
/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()
/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp767 auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember()
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()
721 auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); addedMember() local
H A DDecl.cpp3624 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in getBuiltinID()
3628 FunTmpl->setPreviousDecl(PrevFunTmpl); in getBuiltinID()
4412 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in getMemoryFunctionKind()
4414 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in getMemoryFunctionKind()
3594 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { setPreviousDeclaration() local
4374 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { isOutOfLine() local
/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp239 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl()
242 VisitTemplateParameterList(FunTmpl->getTemplateParameters()); in VisitFunctionDecl() local
/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp7477 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in AddMethodCandidate()
7479 FunTmpl ? FunTmpl->getTemplatedDecl() : cast<FunctionDecl>(D); in AddMethodCandidate()
7497 if (FunTmpl) { in AddMethodCandidate()
7499 FunTmpl, F.getPair(), in AddMethodCandidate()
7500 cast<CXXRecordDecl>(FunTmpl->getDeclContext()), in AddMethodCandidate()
7521 if (FunTmpl) { in AddMethodCandidate()
7522 AddTemplateOverloadCandidate(FunTmpl, F.getPair(), in AddMethodCandidate()
8405 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D);
8407 FunTmpl
7311 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); AddFunctionCandidates() local
8245 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); AddNonMemberOperatorCandidates() local
10005 if (FunctionTemplateDecl *FunTmpl = Cand->Function->getPrimaryTemplate()) AddArgumentDependentLookupCandidates() local
10834 if (FunctionTemplateDecl *FunTmpl = Fn->getPrimaryTemplate()) { ClassifyOverloadCandidate() local
10948 if (FunctionTemplateDecl *FunTmpl = FD->getPrimaryTemplate()) { checkAddressOfFunctionIsAvailable() local
11111 if (FunctionTemplateDecl *FunTmpl = NoteAllOverloadCandidates() local
[all...]
H A DSemaTemplate.cpp9078 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Ovl)) { in CheckTemplateSpecializationScope()
9098 auto *OldMD = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckTemplateSpecializationScope()
9122 cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()), in CheckTemplateSpecializationScope()
9128 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckTemplateSpecializationScope()
9144 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckTemplateSpecializationScope()
10383 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Prev); in CheckMemberSpecialization()
10384 if (!FunTmpl) in CheckMemberSpecialization()
10390 FunTmpl, (HasExplicitTemplateArgs ? &TemplateArgs : nullptr), R, in CheckMemberSpecialization()
10395 P.getPair(), FunTmpl->getTemplatedDecl(), in CheckMemberSpecialization()
10411 P.getPair(), FunTmpl in CheckMemberSpecialization()
10021 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Ovl)) { CheckFunctionTemplateSpecialization() local
11276 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Prev); ActOnExplicitInstantiation() local
11422 FunctionTemplateDecl *FunTmpl = Specialization->getPrimaryTemplate(); ActOnExplicitInstantiation() local
[all...]
H A DSemaCodeComplete.cpp3711 if (const FunctionTemplateDecl *FunTmpl = in createCodeCompletionStringForDecl()
3715 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in createCodeCompletionStringForDecl()
3723 llvm::SmallBitVector Deduced(FunTmpl->getTemplateParameters()->size()); in createCodeCompletionStringForDecl()
3727 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in createCodeCompletionStringForDecl()
3736 NamedDecl *Param = FunTmpl->getTemplateParameters()->getParam( in createCodeCompletionStringForDecl()
3768 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result, in getCompletionComment()
3584 if (const FunctionTemplateDecl *FunTmpl = createCodeCompletionStringForDecl() local
H A DSemaStmt.cpp2396 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in ActOnCXXForRangeStmt()
2398 FunTmpl->getTemplateParameters(), *D->getTemplateSpecializationArgs()); in ActOnCXXForRangeStmt()
2305 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { NoteForRangeBeginEndFunction() local
H A DSemaTemplateDeduction.cpp4278 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in DeduceFromInitializerList()
4288 if (S.DeduceTemplateArguments(FunTmpl, &ExplicitTemplateArgs, in DeduceFromInitializerList()
4086 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { ResolveOverloadForDeduction() local
H A DSemaDeclCXX.cpp3616 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member)) in ActOnCXXMemberDeclarator()
3617 NonTemplateMember = FunTmpl->getTemplatedDecl(); in ActOnCXXMemberDeclarator()
3541 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member)) ActOnCXXMemberDeclarator() local
H A DSemaDecl.cpp15587 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in ActOnStartOfFunctionDef()
15588 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef()
15378 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) ActOnStartOfFunctionDef() local
/llvm-project/clang/tools/libclang/
H A DCIndex.cpp5799 if (const FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in clang_getCursorKindSpelling()
5800 D = FunTmpl->getTemplatedDecl(); in clang_getCursorKindSpelling()
8948 if (FunctionTemplateDecl *FunTmpl = FD->getDescribedFunctionTemplate()) in clang_Cursor_isExternalSymbol()
8949 return FunTmpl; in clang_Cursor_isExternalSymbol()
5620 if (const FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) clang_getCursorDisplayName() local
8742 if (FunctionTemplateDecl *FunTmpl = FD->getDescribedFunctionTemplate()) maybeGetTemplateCursor() local