/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 423 if (const auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() local 425 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration() 467 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() local 469 Method = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in ParseLexedMethodDeclaration()
|
/openbsd/gnu/llvm/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 120 else if (const auto *FunTmpl = dyn_cast_or_null<FunctionTemplateDecl>(D)) in getBody() local 121 return FunTmpl->getTemplatedDecl()->getBody(); in getBody()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | DeclCXX.cpp | 706 auto *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() local 707 if (FunTmpl) in addedMember() 708 D = FunTmpl->getTemplatedDecl(); in addedMember() 794 if (!FunTmpl) { in addedMember() 865 FunTmpl ? cast<NamedDecl>(FunTmpl) : cast<NamedDecl>(Conversion); in addedMember()
|
H A D | Decl.cpp | 3395 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() local 3399 FunTmpl->setPreviousDecl(PrevFunTmpl); in setPreviousDeclaration() 4137 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in isOutOfLine() local 4139 if (FunTmpl->getTemplatedDecl()->hasBody(Definition)) in isOutOfLine()
|
/openbsd/gnu/llvm/clang/lib/Index/ |
H A D | USRGeneration.cpp | 235 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() local 238 VisitTemplateParameterList(FunTmpl->getTemplateParameters()); in VisitFunctionDecl()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaOverload.cpp | 6940 FunTmpl ? FunTmpl->getTemplatedDecl() : cast<FunctionDecl>(D); in AddFunctionCandidates() 6958 if (FunTmpl) { in AddFunctionCandidates() 6960 FunTmpl, F.getPair(), in AddFunctionCandidates() 6982 if (FunTmpl) { in AddFunctionCandidates() 6983 AddTemplateOverloadCandidate(FunTmpl, F.getPair(), in AddFunctionCandidates() 7831 FunTmpl ? FunTmpl->getTemplatedDecl() : cast<FunctionDecl>(D); in AddNonMemberOperatorCandidates() 7840 if (FunTmpl) { in AddNonMemberOperatorCandidates() 7845 FunTmpl, F.getPair(), ExplicitTemplateArgs, in AddNonMemberOperatorCandidates() 9593 Fns.erase(FunTmpl); in AddArgumentDependentLookupCandidates() 10493 FunTmpl->getTemplateParameters(), in checkAddressOfFunctionIsAvailable() [all …]
|
H A D | SemaTemplate.cpp | 9349 dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl()); in CheckFunctionTemplateSpecialization() 9373 cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()), in CheckFunctionTemplateSpecialization() 9379 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization() 9395 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization() 10533 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Prev); in ActOnExplicitInstantiation() local 10534 if (!FunTmpl) in ActOnExplicitInstantiation() 10540 = DeduceTemplateArguments(FunTmpl, in ActOnExplicitInstantiation() 10546 .set(P.getPair(), FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation() 10562 P.getPair(), FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation() 10678 FunctionTemplateDecl *FunTmpl = Specialization->getPrimaryTemplate(); in ActOnExplicitInstantiation() local [all …]
|
H A D | SemaCodeComplete.cpp | 3516 if (const FunctionTemplateDecl *FunTmpl = in createCodeCompletionStringForDecl() local 3520 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in createCodeCompletionStringForDecl() 3526 Sema::MarkDeducedTemplateParameters(Ctx, FunTmpl, Deduced); in createCodeCompletionStringForDecl() 3535 NamedDecl *Param = FunTmpl->getTemplateParameters()->getParam( in createCodeCompletionStringForDecl() 3558 AddTemplateParameterChunks(Ctx, Policy, FunTmpl, Result, in createCodeCompletionStringForDecl()
|
H A D | SemaTemplateInstantiateDecl.cpp | 4647 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() local 4649 assert(FunTmpl->getTemplatedDecl() == Tmpl && in InitFunctionInstantiation() 4651 (void) FunTmpl; in InitFunctionInstantiation()
|
H A D | SemaStmt.cpp | 2435 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction() local 2437 FunTmpl->getTemplateParameters(), *D->getTemplateSpecializationArgs()); in NoteForRangeBeginEndFunction()
|
H A D | SemaTemplateDeduction.cpp | 3776 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() local 3786 if (S.DeduceTemplateArguments(FunTmpl, &ExplicitTemplateArgs, in ResolveOverloadForDeduction()
|
H A D | SemaDeclCXX.cpp | 3540 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member)) in ActOnCXXMemberDeclarator() local 3541 NonTemplateMember = FunTmpl->getTemplatedDecl(); in ActOnCXXMemberDeclarator() 18456 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(MethodD)) in actOnDelayedExceptionSpecification() local 18457 MethodD = FunTmpl->getTemplatedDecl(); in actOnDelayedExceptionSpecification()
|
H A D | SemaDecl.cpp | 15113 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) in ActOnStartOfFunctionDef() local 15114 FD = FunTmpl->getTemplatedDecl(); in ActOnStartOfFunctionDef()
|
/openbsd/gnu/llvm/clang/tools/libclang/ |
H A D | CIndex.cpp | 5344 if (const FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) 5345 D = FunTmpl->getTemplatedDecl(); 8455 if (FunctionTemplateDecl *FunTmpl = FD->getDescribedFunctionTemplate()) in maybeGetTemplateCursor() local 8456 return FunTmpl; in maybeGetTemplateCursor()
|