Home
last modified time | relevance | path

Searched refs:FunctionTemplateDecl (Results 1 – 25 of 63) sorted by relevance

123

/external/clang/include/clang/AST/
DDeclTemplate.h30 class FunctionTemplateDecl; variable
291 FunctionTemplateDecl *Template, in FunctionTemplateSpecializationInfo()
304 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template,
318 llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template;
332 FunctionTemplateDecl *getTemplate() const { return Template.getPointer(); } in getTemplate()
482 FunctionTemplateDecl * const *getTemplates() const { in getTemplates()
483 return reinterpret_cast<FunctionTemplateDecl*const*>(this+1); in getTemplates()
498 FunctionTemplateDecl *getTemplate(unsigned I) const { in getTemplate()
739 class FunctionTemplateDecl : public RedeclarableTemplateDecl {
769 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L,
[all …]
DASTLambda.h56 if (FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(D)) in isLambdaConversionOperator()
DASTMutationListener.h26 class FunctionTemplateDecl; variable
67 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, in AddedCXXTemplateSpecialization()
DDeclFriend.h140 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange()
/external/clang/lib/AST/
DDeclTemplate.cpp247 void FunctionTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon()
251 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, in Create()
258 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl); in Create()
261 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
263 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
268 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon()
274 void FunctionTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations()
290 FunctionTemplateDecl::getSpecializations() const { in getSpecializations()
296 FunctionTemplateDecl::findSpecialization(ArrayRef<TemplateArgument> Args, in findSpecialization()
301 void FunctionTemplateDecl::addSpecialization( in addSpecialization()
[all …]
DDeclFriend.cpp37 isa<FunctionTemplateDecl>(D) || in Create()
DComment.cpp188 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill()
DDecl.cpp386 FunctionTemplateDecl *temp = specInfo->getTemplate(); in mergeTemplateLV()
1515 if (const FunctionTemplateDecl *FunctionTemplate = in declarationReplaces()
1516 dyn_cast<FunctionTemplateDecl>(this)) in declarationReplaces()
1518 cast<FunctionTemplateDecl>(OldD)->getTemplatedDecl()); in declarationReplaces()
2560 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration()
2561 FunctionTemplateDecl *PrevFunTmpl in setPreviousDeclaration()
2920 if (TemplateOrSpecialization.is<FunctionTemplateDecl *>()) in getTemplatedKind()
3029 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern()
3044 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate()
3079 FunctionTemplateDecl *Template, in setFunctionTemplateSpecialization()
[all …]
DDeclCXX.cpp436 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember()
1000 if (FunctionTemplateDecl *CallOpTmpl = in getLambdaCallOperator()
1001 dyn_cast<FunctionTemplateDecl>(CallOp)) in getLambdaCallOperator()
1015 if (FunctionTemplateDecl *InvokerTemplate = in getLambdaStaticInvoker()
1016 dyn_cast<FunctionTemplateDecl>(InvokerFun)) in getLambdaStaticInvoker()
1044 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList()
DDeclPrinter.cpp70 void VisitFunctionTemplateDecl(FunctionTemplateDecl *D);
624 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl()
625 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl()
902 void DeclPrinter::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h146 class FunctionTemplateDecl; variable
837 FunctionTemplateDecl *FunctionTemplate;
848 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl)
849 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { }
862 FunctionTemplateDecl *getFunctionTemplate() const {
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp2469 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments()
2746 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction()
3037 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction()
3190 hasDeducibleTemplateParameters(Sema &S, FunctionTemplateDecl *FunctionTemplate,
3253 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments()
3501 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments()
3626 FunctionTemplateDecl *CallOpTemplate = in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
3656 FunctionTemplateDecl *InvokerTemplate = LambdaClass-> in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
3701 Sema::DeduceTemplateArguments(FunctionTemplateDecl *ConversionTemplate, in DeduceTemplateArguments()
3853 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments()
[all …]
DSemaLambda.cpp402 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition()
403 FunctionTemplateDecl::Create(Context, Class, in startLambdaDefinition()
1282 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion()
1284 FunctionTemplateDecl *ConversionTemplate = in addFunctionPointerConversion()
1285 FunctionTemplateDecl::Create(S.Context, Class, in addFunctionPointerConversion()
1324 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion()
1326 FunctionTemplateDecl *StaticInvokerTemplate = FunctionTemplateDecl::Create( in addFunctionPointerConversion()
DSemaAccess.cpp394 FunctionTemplateDecl *Context, in MightInstantiateTo()
395 FunctionTemplateDecl *Friend) { in MightInstantiateTo()
512 FunctionTemplateDecl *Friend) { in MatchesFriend()
520 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); in MatchesFriend()
559 if (isa<FunctionTemplateDecl>(Friend)) in MatchesFriend()
560 return MatchesFriend(S, EC, cast<FunctionTemplateDecl>(Friend)); in MatchesFriend()
1074 (isa<FunctionTemplateDecl>(D) && in TryDiagnoseProtectedAccess()
1076 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess()
DSemaOverload.cpp915 if (!isa<FunctionTemplateDecl>(OldD) && in CheckOverload()
954 FunctionTemplateDecl *OldTemplate = Old->getDescribedFunctionTemplate(); in IsOverload()
955 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverload()
2926 FunctionTemplateDecl *ConstructorTmpl in IsInitializerListConstructorConversion()
2927 = dyn_cast<FunctionTemplateDecl>(D); in IsInitializerListConstructorConversion()
3062 FunctionTemplateDecl *ConstructorTmpl in IsUserDefinedConversion()
3063 = dyn_cast<FunctionTemplateDecl>(D); in IsUserDefinedConversion()
3120 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion()
3121 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion()
4061 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit()
[all …]
DSemaLookup.cpp323 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity()
368 if (isa<FunctionTemplateDecl>(D)) in resolveKind()
434 } else if (isa<FunctionTemplateDecl>(D)) { in resolveKind()
707 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect()
2563 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember()
2564 dyn_cast<FunctionTemplateDecl>(Cand)) { in LookupSpecialMember()
2752 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) { in LookupLiteralOperator()
2905 if (!isa<FunctionDecl>(D) && !isa<FunctionTemplateDecl>(D)) in ArgumentDependentLookup()
4429 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate()
4465 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in ValidateCandidate()
DSemaTemplateInstantiateDecl.cpp1171 TemplateDeclInstantiator::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
1197 FunctionTemplateDecl *InstTemplate in VisitFunctionTemplateDecl()
1315 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitFunctionDecl()
1418 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, DC, in VisitFunctionDecl()
1482 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitFunctionDecl()
1589 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitCXXMethodDecl()
1744 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl()
3191 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation()
3192 = dyn_cast<FunctionTemplateDecl>(ActiveInst.Entity)) { in InitFunctionInstantiation()
4133 static bool isInstantiationOf(FunctionTemplateDecl *Pattern, in isInstantiationOf()
[all …]
/external/lldb/include/lldb/Symbol/
DClangASTContext.h266 clang::FunctionTemplateDecl *
274 clang::FunctionTemplateDecl *Template,
/external/lldb/include/lldb/Core/
DClangForward.h70 class FunctionTemplateDecl; variable
/external/clang/lib/Index/
DUSRGeneration.cpp81 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D);
202 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl()
312 void USRGenerator::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
/external/clang/lib/Frontend/
DASTConsumers.cpp455 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I); in PrintDeclContext()
DMultiplexConsumer.cpp99 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD,
152 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization()
/external/clang/tools/libclang/
DIndexingContext.cpp640 bool IndexingContext::handleFunctionTemplate(const FunctionTemplateDecl *D) { in handleFunctionTemplate()
825 if (FunctionTemplateDecl *TemplD = FD->getDescribedFunctionTemplate()) in getEntityDecl()
843 } else if (const FunctionTemplateDecl * in getEntityContainer()
844 FuncTempl = dyn_cast<FunctionTemplateDecl>(D)) { in getEntityContainer()
1055 cast<FunctionTemplateDecl>(D)->getTemplatedDecl())) { in getEntityInfo()
DIndexingContext.h25 class FunctionTemplateDecl; variable
431 bool handleFunctionTemplate(const FunctionTemplateDecl *D);
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp417 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration()
418 = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration()
551 !isa<FunctionTemplateDecl>(LM.D) || in ParseLexedMethodDef()
552 cast<FunctionTemplateDecl>(LM.D)->getTemplateParameters()->getDepth() in ParseLexedMethodDef()

123