Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclCXX.cpp436 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() local
437 if (FunTmpl) in addedMember()
438 D = FunTmpl->getTemplatedDecl(); in addedMember()
508 if (!FunTmpl) { in addedMember()
581 FunTmpl ? cast<NamedDecl>(FunTmpl) : cast<NamedDecl>(Conversion); in addedMember()
DDecl.cpp2560 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() local
2564 FunTmpl->setPreviousDecl(PrevFunTmpl); in setPreviousDeclaration()
3198 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in isOutOfLine() local
3200 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp114 else if (const FunctionTemplateDecl *FunTmpl in getBody() local
116 return FunTmpl->getTemplatedDecl()->getBody(); in getBody()
/external/clang/lib/Index/
DUSRGeneration.cpp202 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() local
205 VisitTemplateParameterList(FunTmpl->getTemplateParameters()); in VisitFunctionDecl()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp417 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() local
419 Method = cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in ParseLexedMethodDeclaration()
/external/clang/lib/Sema/
DSemaTemplate.cpp6753 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Ovl)) { in CheckFunctionTemplateSpecialization() local
6768 dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckFunctionTemplateSpecialization()
6788 cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()), in CheckFunctionTemplateSpecialization()
6793 .set(FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
7726 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Prev); in ActOnExplicitInstantiation() local
7727 if (!FunTmpl) in ActOnExplicitInstantiation()
7733 = DeduceTemplateArguments(FunTmpl, in ActOnExplicitInstantiation()
7739 .set(FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation()
7833 FunctionTemplateDecl *FunTmpl = Specialization->getPrimaryTemplate(); in ActOnExplicitInstantiation() local
7834 if (D.getName().getKind() != UnqualifiedId::IK_TemplateId && !FunTmpl && in ActOnExplicitInstantiation()
[all …]
DSemaOverload.cpp5922 FunctionTemplateDecl *FunTmpl = cast<FunctionTemplateDecl>(D); in AddFunctionCandidates() local
5923 if (isa<CXXMethodDecl>(FunTmpl->getTemplatedDecl()) && in AddFunctionCandidates()
5924 !cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl())->isStatic()) in AddFunctionCandidates()
5925 AddMethodTemplateCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates()
5926 cast<CXXRecordDecl>(FunTmpl->getDeclContext()), in AddFunctionCandidates()
5933 AddTemplateOverloadCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates()
8326 if (FunctionTemplateDecl *FunTmpl = Cand->Function->getPrimaryTemplate()) in AddArgumentDependentLookupCandidates() local
8327 Fns.erase(FunTmpl); in AddArgumentDependentLookupCandidates()
8572 if (FunctionTemplateDecl *FunTmpl = Fn->getPrimaryTemplate()) { in ClassifyOverloadCandidate() local
8575 FunTmpl->getTemplateParameters(), *Fn->getTemplateSpecializationArgs()); in ClassifyOverloadCandidate()
[all …]
DSemaTemplateDeduction.cpp3037 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() local
3047 if (S.DeduceTemplateArguments(FunTmpl, &ExplicitTemplateArgs, in ResolveOverloadForDeduction()
4255 static bool isVariadicFunctionTemplate(FunctionTemplateDecl *FunTmpl) { in isVariadicFunctionTemplate() argument
4256 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in isVariadicFunctionTemplate()
DSemaTemplateInstantiate.cpp149 } else if (FunctionTemplateDecl *FunTmpl in getTemplateInstantiationArgs() local
152 Result.addOuterTemplateArguments(FunTmpl->getInjectedTemplateArgs()); in getTemplateInstantiationArgs()
DSemaTemplateInstantiateDecl.cpp3191 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() local
3193 assert(FunTmpl->getTemplatedDecl() == Tmpl && in InitFunctionInstantiation()
3195 (void) FunTmpl; in InitFunctionInstantiation()
DSemaCodeComplete.cpp2663 if (const FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(ND)) { in CreateCodeCompletionString() local
2666 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in CreateCodeCompletionString()
2672 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in CreateCodeCompletionString()
2681 NamedDecl *Param = FunTmpl->getTemplateParameters()->getParam( in CreateCodeCompletionString()
2704 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result, in CreateCodeCompletionString()
DSemaStmt.cpp1876 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction() local
1878 FunTmpl->getTemplateParameters(), *D->getTemplateSpecializationArgs()); in NoteForRangeBeginEndFunction()
DSemaDeclCXX.cpp2251 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member)) in ActOnCXXMemberDeclarator() local
2252 FunTmpl->getTemplatedDecl()->setAccess(AS); in ActOnCXXMemberDeclarator()
13632 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(MethodD)) in actOnDelayedExceptionSpecification() local
13633 MethodD = FunTmpl->getTemplatedDecl(); in actOnDelayedExceptionSpecification()
DSemaDecl.cpp10351 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in ActOnStartOfFunctionDef() local
10352 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef()
/external/clang/tools/libclang/
DCIndex.cpp3839 if (const FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in clang_getCursorDisplayName() local
3840 D = FunTmpl->getTemplatedDecl(); in clang_getCursorDisplayName()
6486 if (FunctionTemplateDecl *FunTmpl = FD->getDescribedFunctionTemplate()) in maybeGetTemplateCursor() local
6487 return FunTmpl; in maybeGetTemplateCursor()