/external/clang/lib/AST/ |
D | DeclCXX.cpp | 477 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() local 478 if (FunTmpl) in addedMember() 479 D = FunTmpl->getTemplatedDecl(); in addedMember() 590 if (!FunTmpl) { in addedMember() 705 if (FunTmpl) { in addedMember() 706 if (FunTmpl->getPreviousDecl()) in addedMember() 707 data().Conversions.replace(FunTmpl->getPreviousDecl(), in addedMember() 708 FunTmpl); in addedMember() 710 data().Conversions.addDecl(FunTmpl); in addedMember()
|
D | Decl.cpp | 247 if (const FunctionTemplateDecl *FunTmpl in getLVForNamespaceScopeDecl() local 249 Function = FunTmpl->getTemplatedDecl(); in getLVForNamespaceScopeDecl() 1783 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() local 1787 FunTmpl->setPreviousDeclaration(PrevFunTmpl); in setPreviousDeclaration() 2377 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in isOutOfLine() local 2379 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 87 else if (const FunctionTemplateDecl *FunTmpl in getBody() local 89 return FunTmpl->getTemplatedDecl()->getBody(); in getBody()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 121 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(FnD)) in ParseCXXInlineMethodDef() local 122 FD = FunTmpl->getTemplatedDecl(); in ParseCXXInlineMethodDef()
|
D | ParseTemplate.cpp | 1254 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(LMT.D)) in ParseLateTemplatedFuncDef() local 1255 FD = FunTmpl->getTemplatedDecl(); in ParseLateTemplatedFuncDef()
|
D | Parser.cpp | 990 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(DP)) in ParseFunctionDefinition() local 991 FnD = FunTmpl->getTemplatedDecl(); in ParseFunctionDefinition()
|
/external/clang/tools/libclang/ |
D | CIndexUSRs.cpp | 189 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() local 191 VisitTemplateParameterList(FunTmpl->getTemplateParameters()); in VisitFunctionDecl()
|
D | CIndex.cpp | 3273 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in clang_getCursorDisplayName() local 3274 D = FunTmpl->getTemplatedDecl(); in clang_getCursorDisplayName() 5699 if (FunctionTemplateDecl *FunTmpl = FD->getDescribedFunctionTemplate()) in maybeGetTemplateCursor() local 5700 return FunTmpl; in maybeGetTemplateCursor() 5825 if (FunctionTemplateDecl *FunTmpl = dyn_cast_or_null<FunctionTemplateDecl>(D)) in clang_CXXMethod_isStatic() local 5826 Method = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in clang_CXXMethod_isStatic() 5838 if (FunctionTemplateDecl *FunTmpl = dyn_cast_or_null<FunctionTemplateDecl>(D)) in clang_CXXMethod_isVirtual() local 5839 Method = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in clang_CXXMethod_isVirtual()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 5924 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Ovl)) { in CheckFunctionTemplateSpecialization() local 5941 = DeduceTemplateArguments(FunTmpl, ExplicitTemplateArgs, in CheckFunctionTemplateSpecialization() 6790 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Prev); in ActOnExplicitInstantiation() local 6791 if (!FunTmpl) in ActOnExplicitInstantiation() 6797 = DeduceTemplateArguments(FunTmpl, in ActOnExplicitInstantiation() 6866 FunctionTemplateDecl *FunTmpl = Specialization->getPrimaryTemplate(); in ActOnExplicitInstantiation() local 6867 if (D.getName().getKind() != UnqualifiedId::IK_TemplateId && !FunTmpl && in ActOnExplicitInstantiation() 6875 FunTmpl? (NamedDecl *)FunTmpl in ActOnExplicitInstantiation()
|
D | SemaOverload.cpp | 5357 FunctionTemplateDecl *FunTmpl = cast<FunctionTemplateDecl>(D); in AddFunctionCandidates() local 5358 if (isa<CXXMethodDecl>(FunTmpl->getTemplatedDecl()) && in AddFunctionCandidates() 5359 !cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl())->isStatic()) in AddFunctionCandidates() 5360 AddMethodTemplateCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates() 5361 cast<CXXRecordDecl>(FunTmpl->getDeclContext()), in AddFunctionCandidates() 5367 AddTemplateOverloadCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates() 7676 if (FunctionTemplateDecl *FunTmpl = Cand->Function->getPrimaryTemplate()) in AddArgumentDependentLookupCandidates() local 7677 Fns.erase(FunTmpl); in AddArgumentDependentLookupCandidates() 7883 if (FunctionTemplateDecl *FunTmpl = Fn->getPrimaryTemplate()) { in ClassifyOverloadCandidate() local 7886 FunTmpl->getTemplateParameters(), *Fn->getTemplateSpecializationArgs()); in ClassifyOverloadCandidate() [all …]
|
D | SemaLookup.cpp | 2217 } else if (FunctionTemplateDecl *FunTmpl in LookupOverloadedOperatorName() local 2222 if (!FunTmpl->getDeclContext()->isRecord()) in LookupOverloadedOperatorName() 2591 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in LookupLiteralOperator() local 2592 D = FunTmpl->getTemplatedDecl(); in LookupLiteralOperator()
|
D | SemaCodeComplete.cpp | 661 else if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(ND)) in getDeclUsageType() local 662 T = FunTmpl->getTemplatedDecl()->getCallResultType(); in getDeclUsageType() 2016 else if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(ND)) in AddResultTypeChunk() local 2017 T = FunTmpl->getTemplatedDecl()->getResultType(); in AddResultTypeChunk() 2580 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(ND)) { in CreateCodeCompletionString() local 2583 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in CreateCodeCompletionString() 2589 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in CreateCodeCompletionString() 2598 NamedDecl *Param = FunTmpl->getTemplateParameters()->getParam( in CreateCodeCompletionString() 2621 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result, in CreateCodeCompletionString()
|
D | SemaTemplateDeduction.cpp | 2782 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() local 2792 if (S.DeduceTemplateArguments(FunTmpl, &ExplicitTemplateArgs, in ResolveOverloadForDeduction() 3828 static bool isVariadicFunctionTemplate(FunctionTemplateDecl *FunTmpl) { in isVariadicFunctionTemplate() argument 3829 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in isVariadicFunctionTemplate()
|
D | SemaTemplateInstantiateDecl.cpp | 2567 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() local 2569 assert(FunTmpl->getTemplatedDecl() == Tmpl && in InitFunctionInstantiation() 2571 (void) FunTmpl; in InitFunctionInstantiation()
|
D | SemaTemplateInstantiate.cpp | 116 } else if (FunctionTemplateDecl *FunTmpl in getTemplateInstantiationArgs() local 120 Injected = FunTmpl->getInjectedTemplateArgs(); in getTemplateInstantiationArgs()
|
D | SemaStmt.cpp | 1609 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction() local 1611 FunTmpl->getTemplateParameters(), *D->getTemplateSpecializationArgs()); in NoteForRangeBeginEndFunction()
|
D | SemaDecl.cpp | 7611 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in ActOnStartOfFunctionDef() local 7612 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef() 7782 FunctionTemplateDecl *FunTmpl = dyn_cast_or_null<FunctionTemplateDecl>(dcl); in ActOnFinishFunctionBody() local 7783 if (FunTmpl) in ActOnFinishFunctionBody() 7784 FD = FunTmpl->getTemplatedDecl(); in ActOnFinishFunctionBody()
|
D | SemaDeclCXX.cpp | 1641 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member)) in ActOnCXXMemberDeclarator() local 1642 FunTmpl->getTemplatedDecl()->setAccess(AS); in ActOnCXXMemberDeclarator()
|