/external/clang/lib/AST/ |
D | DeclCXX.cpp | 430 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() local 431 if (FunTmpl) in addedMember() 432 D = FunTmpl->getTemplatedDecl(); in addedMember() 502 if (!FunTmpl) { in addedMember() 575 FunTmpl ? cast<NamedDecl>(FunTmpl) : cast<NamedDecl>(Conversion); in addedMember()
|
D | Decl.cpp | 2589 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() local 2593 FunTmpl->setPreviousDecl(PrevFunTmpl); in setPreviousDeclaration() 3226 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in isOutOfLine() local 3228 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 | 200 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() local 203 VisitTemplateParameterList(FunTmpl->getTemplateParameters()); in VisitFunctionDecl()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 414 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() local 416 Method = cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in ParseLexedMethodDeclaration()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 6836 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Ovl)) { in CheckFunctionTemplateSpecialization() local 6851 dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckFunctionTemplateSpecialization() 6875 cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()), in CheckFunctionTemplateSpecialization() 6880 .set(FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization() 7840 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Prev); in ActOnExplicitInstantiation() local 7841 if (!FunTmpl) in ActOnExplicitInstantiation() 7847 = DeduceTemplateArguments(FunTmpl, in ActOnExplicitInstantiation() 7853 .set(FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation() 7947 FunctionTemplateDecl *FunTmpl = Specialization->getPrimaryTemplate(); in ActOnExplicitInstantiation() local 7948 if (D.getName().getKind() != UnqualifiedId::IK_TemplateId && !FunTmpl && in ActOnExplicitInstantiation() [all …]
|
D | SemaOverload.cpp | 6014 FunctionTemplateDecl *FunTmpl = cast<FunctionTemplateDecl>(D); in AddFunctionCandidates() local 6015 if (isa<CXXMethodDecl>(FunTmpl->getTemplatedDecl()) && in AddFunctionCandidates() 6016 !cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl())->isStatic()) in AddFunctionCandidates() 6017 AddMethodTemplateCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates() 6018 cast<CXXRecordDecl>(FunTmpl->getDeclContext()), in AddFunctionCandidates() 6025 AddTemplateOverloadCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates() 8420 if (FunctionTemplateDecl *FunTmpl = Cand->Function->getPrimaryTemplate()) in AddArgumentDependentLookupCandidates() local 8421 Fns.erase(FunTmpl); in AddArgumentDependentLookupCandidates() 8755 if (FunctionTemplateDecl *FunTmpl = Fn->getPrimaryTemplate()) { in ClassifyOverloadCandidate() local 8758 FunTmpl->getTemplateParameters(), *Fn->getTemplateSpecializationArgs()); in ClassifyOverloadCandidate() [all …]
|
D | SemaTemplateDeduction.cpp | 3046 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() local 3056 if (S.DeduceTemplateArguments(FunTmpl, &ExplicitTemplateArgs, in ResolveOverloadForDeduction() 4334 static bool isVariadicFunctionTemplate(FunctionTemplateDecl *FunTmpl) { in isVariadicFunctionTemplate() argument 4335 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 | 3254 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() local 3256 assert(FunTmpl->getTemplatedDecl() == Tmpl && in InitFunctionInstantiation() 3258 (void) FunTmpl; in InitFunctionInstantiation()
|
D | SemaCodeComplete.cpp | 2711 if (const FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(ND)) { in CreateCodeCompletionString() local 2714 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in CreateCodeCompletionString() 2720 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in CreateCodeCompletionString() 2729 NamedDecl *Param = FunTmpl->getTemplateParameters()->getParam( in CreateCodeCompletionString() 2752 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result, in CreateCodeCompletionString()
|
D | SemaStmt.cpp | 1893 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction() local 1895 FunTmpl->getTemplateParameters(), *D->getTemplateSpecializationArgs()); in NoteForRangeBeginEndFunction()
|
D | SemaDeclCXX.cpp | 2228 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member)) in ActOnCXXMemberDeclarator() local 2229 FunTmpl->getTemplatedDecl()->setAccess(AS); in ActOnCXXMemberDeclarator() 13696 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(MethodD)) in actOnDelayedExceptionSpecification() local 13697 MethodD = FunTmpl->getTemplatedDecl(); in actOnDelayedExceptionSpecification()
|
D | SemaDecl.cpp | 10831 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in ActOnStartOfFunctionDef() local 10832 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 4062 if (const FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in clang_getCursorDisplayName() local 4063 D = FunTmpl->getTemplatedDecl(); in clang_getCursorDisplayName() 6751 if (FunctionTemplateDecl *FunTmpl = FD->getDescribedFunctionTemplate()) in maybeGetTemplateCursor() local 6752 return FunTmpl; in maybeGetTemplateCursor()
|