/external/clang/lib/AST/ |
D | DeclCXX.cpp | 436 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()
|
D | Decl.cpp | 2560 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/ |
D | AnalysisDeclContext.cpp | 114 else if (const FunctionTemplateDecl *FunTmpl in getBody() local 116 return FunTmpl->getTemplatedDecl()->getBody(); in getBody()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 202 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() local 205 VisitTemplateParameterList(FunTmpl->getTemplateParameters()); in VisitFunctionDecl()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 417 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() local 419 Method = cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in ParseLexedMethodDeclaration()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 6753 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 …]
|
D | SemaOverload.cpp | 5922 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 …]
|
D | SemaTemplateDeduction.cpp | 3037 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()
|
D | SemaTemplateInstantiate.cpp | 149 } else if (FunctionTemplateDecl *FunTmpl in getTemplateInstantiationArgs() local 152 Result.addOuterTemplateArguments(FunTmpl->getInjectedTemplateArgs()); in getTemplateInstantiationArgs()
|
D | SemaTemplateInstantiateDecl.cpp | 3191 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() local 3193 assert(FunTmpl->getTemplatedDecl() == Tmpl && in InitFunctionInstantiation() 3195 (void) FunTmpl; in InitFunctionInstantiation()
|
D | SemaCodeComplete.cpp | 2663 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()
|
D | SemaStmt.cpp | 1876 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction() local 1878 FunTmpl->getTemplateParameters(), *D->getTemplateSpecializationArgs()); in NoteForRangeBeginEndFunction()
|
D | SemaDeclCXX.cpp | 2251 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()
|
D | SemaDecl.cpp | 10351 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in ActOnStartOfFunctionDef() local 10352 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 3839 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()
|