/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 30 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() 747 class FunctionTemplateDecl : public RedeclarableTemplateDecl { 777 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, [all …]
|
D | ASTLambda.h | 56 if (FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(D)) in isLambdaConversionOperator()
|
D | ASTMutationListener.h | 25 class FunctionTemplateDecl; variable 65 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
D | DeclFriend.h | 138 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange()
|
/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 221 void FunctionTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon() 225 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, in Create() 232 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl); in Create() 235 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 237 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 242 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 248 void FunctionTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 260 FunctionTemplateDecl::getSpecializations() const { in getSpecializations() 266 FunctionTemplateDecl::findSpecialization(ArrayRef<TemplateArgument> Args, in findSpecialization() 271 void FunctionTemplateDecl::addSpecialization( in addSpecialization() [all …]
|
D | DeclFriend.cpp | 37 isa<FunctionTemplateDecl>(D) || in Create()
|
D | Decl.cpp | 380 FunctionTemplateDecl *temp = specInfo->getTemplate(); in mergeTemplateLV() 1441 if (const FunctionTemplateDecl *FunctionTemplate in declarationReplaces() 1442 = dyn_cast<FunctionTemplateDecl>(this)) in declarationReplaces() 1443 if (const FunctionTemplateDecl *OldFunctionTemplate in declarationReplaces() 1444 = dyn_cast<FunctionTemplateDecl>(OldD)) in declarationReplaces() 2518 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() 2519 FunctionTemplateDecl *PrevFunTmpl in setPreviousDeclaration() 2858 if (TemplateOrSpecialization.is<FunctionTemplateDecl *>()) in getTemplatedKind() 2967 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern() 2982 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate() [all …]
|
D | Comment.cpp | 190 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill()
|
D | DeclCXX.cpp | 436 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() 993 if (FunctionTemplateDecl *CallOpTmpl = in getLambdaCallOperator() 994 dyn_cast<FunctionTemplateDecl>(CallOp)) in getLambdaCallOperator() 1008 if (FunctionTemplateDecl *InvokerTemplate = in getLambdaStaticInvoker() 1009 dyn_cast<FunctionTemplateDecl>(InvokerFun)) in getLambdaStaticInvoker() 1037 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList()
|
/external/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 145 class FunctionTemplateDecl; variable 849 FunctionTemplateDecl *FunctionTemplate; 860 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) 861 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { } 874 FunctionTemplateDecl *getFunctionTemplate() const {
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 402 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition() 403 FunctionTemplateDecl::Create(Context, Class, in startLambdaDefinition() 1277 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1279 FunctionTemplateDecl *ConversionTemplate = in addFunctionPointerConversion() 1280 FunctionTemplateDecl::Create(S.Context, Class, in addFunctionPointerConversion() 1319 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1321 FunctionTemplateDecl *StaticInvokerTemplate = FunctionTemplateDecl::Create( in addFunctionPointerConversion()
|
D | SemaTemplateDeduction.cpp | 2507 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments() 2781 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() 3069 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() 3235 FunctionTemplateDecl *FunctionTemplate, 3298 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 3543 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 3668 FunctionTemplateDecl *CallOpTemplate = in SpecializeCorrespondingLambdaCallOperatorAndInvoker() 3698 FunctionTemplateDecl *InvokerTemplate = LambdaClass-> in SpecializeCorrespondingLambdaCallOperatorAndInvoker() 3743 Sema::DeduceTemplateArguments(FunctionTemplateDecl *ConversionTemplate, in DeduceTemplateArguments() 3895 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() [all …]
|
D | SemaAccess.cpp | 394 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()
|
D | SemaOverload.cpp | 942 if (!isa<FunctionTemplateDecl>(OldD) && in CheckOverload() 981 FunctionTemplateDecl *OldTemplate = Old->getDescribedFunctionTemplate(); in IsOverload() 982 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverload() 2955 FunctionTemplateDecl *ConstructorTmpl in IsInitializerListConstructorConversion() 2956 = dyn_cast<FunctionTemplateDecl>(D); in IsInitializerListConstructorConversion() 3090 FunctionTemplateDecl *ConstructorTmpl in IsUserDefinedConversion() 3091 = dyn_cast<FunctionTemplateDecl>(D); in IsUserDefinedConversion() 3151 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion() 3152 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion() 4089 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() [all …]
|
D | SemaLookup.cpp | 322 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity() 367 if (isa<FunctionTemplateDecl>(D)) in resolveKind() 429 } else if (isa<FunctionTemplateDecl>(D)) { in resolveKind() 702 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() 2504 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() 2505 dyn_cast<FunctionTemplateDecl>(Cand)) { in LookupSpecialMember() 2693 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) { in LookupLiteralOperator() 2850 if (!isa<FunctionDecl>(D) && !isa<FunctionTemplateDecl>(D)) in ArgumentDependentLookup() 4461 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() 4498 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in ValidateCandidate()
|
D | SemaTemplateInstantiate.cpp | 149 } else if (FunctionTemplateDecl *FunTmpl in getTemplateInstantiationArgs() 262 FunctionTemplateDecl *FunctionTemplate, in InstantiatingTemplate() 477 FunctionTemplateDecl *FnTmpl = cast<FunctionTemplateDecl>(Active->Entity); in PrintInstantiationStack() 500 FunctionTemplateDecl *FnTmpl in PrintInstantiationStack() 501 = cast<FunctionTemplateDecl>(Active->Entity); in PrintInstantiationStack() 833 if (FunctionTemplateDecl *const NewCallOperatorTemplate = in TransformLambdaScope() 836 FunctionTemplateDecl *const OldCallOperatorTemplate = in TransformLambdaScope()
|
D | SemaTemplateInstantiateDecl.cpp | 1086 TemplateDeclInstantiator::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl() 1112 FunctionTemplateDecl *InstTemplate in VisitFunctionTemplateDecl() 1227 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitFunctionDecl() 1330 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, DC, in VisitFunctionDecl() 1394 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitFunctionDecl() 1501 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitCXXMethodDecl() 1656 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl() 3202 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() 3203 = dyn_cast<FunctionTemplateDecl>(ActiveInst.Entity)) { in InitFunctionInstantiation() 4166 static bool isInstantiationOf(FunctionTemplateDecl *Pattern, in isInstantiationOf() [all …]
|
/external/lldb/include/lldb/Symbol/ |
D | ClangASTContext.h | 266 clang::FunctionTemplateDecl * 274 clang::FunctionTemplateDecl *Template,
|
/external/lldb/include/lldb/Core/ |
D | ClangForward.h | 70 class FunctionTemplateDecl; variable
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 446 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I); in PrintDeclContext()
|
D | MultiplexConsumer.cpp | 99 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, 147 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 81 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D); 201 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() 296 void USRGenerator::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
/external/clang/tools/libclang/ |
D | IndexingContext.cpp | 640 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()
|
D | IndexingContext.h | 22 class FunctionTemplateDecl; variable 428 bool handleFunctionTemplate(const FunctionTemplateDecl *D);
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 113 else if (const FunctionTemplateDecl *FunTmpl in getBody() 114 = dyn_cast_or_null<FunctionTemplateDecl>(D)) in getBody()
|