/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 32 class FunctionTemplateDecl; variable 395 FunctionTemplateDecl *Template, in FunctionTemplateSpecializationInfo() 408 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template, 422 llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template; 436 FunctionTemplateDecl *getTemplate() const { return Template.getPointer(); } in getTemplate() 562 FunctionTemplateDecl *> { 575 size_t numTrailingObjects(OverloadToken<FunctionTemplateDecl *>) const { in numTrailingObjects() argument 593 FunctionTemplateDecl *getTemplate(unsigned I) const { in getTemplate() 595 return getTrailingObjects<FunctionTemplateDecl *>()[I]; in getTemplate() 833 class FunctionTemplateDecl : public RedeclarableTemplateDecl { [all …]
|
D | ASTLambda.h | 56 if (FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(D)) in isLambdaConversionOperator()
|
D | ASTMutationListener.h | 25 class FunctionTemplateDecl; variable 68 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
D | DeclFriend.h | 140 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange()
|
/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 251 void FunctionTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon() 255 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, in Create() 262 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl); in Create() 265 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 267 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 272 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 278 void FunctionTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 294 FunctionTemplateDecl::getSpecializations() const { in getSpecializations() 300 FunctionTemplateDecl::findSpecialization(ArrayRef<TemplateArgument> Args, in findSpecialization() 305 void FunctionTemplateDecl::addSpecialization( in addSpecialization() [all …]
|
D | DeclFriend.cpp | 37 isa<FunctionTemplateDecl>(D) || in Create()
|
D | Comment.cpp | 188 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill()
|
D | Decl.cpp | 391 FunctionTemplateDecl *temp = specInfo->getTemplate(); in mergeTemplateLV() 2589 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() 2590 FunctionTemplateDecl *PrevFunTmpl in setPreviousDeclaration() 2946 if (TemplateOrSpecialization.is<FunctionTemplateDecl *>()) in getTemplatedKind() 3055 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern() 3070 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate() 3105 FunctionTemplateDecl *Template, in setFunctionTemplateSpecialization() 3140 totalSizeToAlloc<TemplateArgumentLoc, FunctionTemplateDecl *>( in Create() 3153 FunctionTemplateDecl **TsArray = getTrailingObjects<FunctionTemplateDecl *>(); in DependentFunctionTemplateSpecializationInfo() 3155 TsArray[I] = cast<FunctionTemplateDecl>(Ts[I]->getUnderlyingDecl()); in DependentFunctionTemplateSpecializationInfo() [all …]
|
D | DeclCXX.cpp | 430 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() 994 if (FunctionTemplateDecl *CallOpTmpl = in getLambdaCallOperator() 995 dyn_cast<FunctionTemplateDecl>(CallOp)) in getLambdaCallOperator() 1009 if (FunctionTemplateDecl *InvokerTemplate = in getLambdaStaticInvoker() 1010 dyn_cast<FunctionTemplateDecl>(InvokerFun)) in getLambdaStaticInvoker() 1038 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList()
|
/external/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 146 class FunctionTemplateDecl; variable 839 FunctionTemplateDecl *FunctionTemplate; 850 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) 851 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { } 864 FunctionTemplateDecl *getFunctionTemplate() const {
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 402 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition() 403 FunctionTemplateDecl::Create(Context, Class, in startLambdaDefinition() 1265 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1267 FunctionTemplateDecl *ConversionTemplate = in addFunctionPointerConversion() 1268 FunctionTemplateDecl::Create(S.Context, Class, in addFunctionPointerConversion() 1307 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1309 FunctionTemplateDecl *StaticInvokerTemplate = FunctionTemplateDecl::Create( in addFunctionPointerConversion()
|
D | SemaTemplateDeduction.cpp | 2477 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments() 2754 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() 3046 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() 3201 hasDeducibleTemplateParameters(Sema &S, FunctionTemplateDecl *FunctionTemplate, 3331 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 3567 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 3692 FunctionTemplateDecl *CallOpTemplate = in SpecializeCorrespondingLambdaCallOperatorAndInvoker() 3722 FunctionTemplateDecl *InvokerTemplate = LambdaClass-> in SpecializeCorrespondingLambdaCallOperatorAndInvoker() 3769 Sema::DeduceTemplateArguments(FunctionTemplateDecl *ConversionTemplate, in DeduceTemplateArguments() 3921 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() [all …]
|
D | SemaAccess.cpp | 399 FunctionTemplateDecl *Context, in MightInstantiateTo() 400 FunctionTemplateDecl *Friend) { in MightInstantiateTo() 517 FunctionTemplateDecl *Friend) { in MatchesFriend() 525 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); in MatchesFriend() 564 if (isa<FunctionTemplateDecl>(Friend)) in MatchesFriend() 565 return MatchesFriend(S, EC, cast<FunctionTemplateDecl>(Friend)); in MatchesFriend() 1079 (isa<FunctionTemplateDecl>(D) && in TryDiagnoseProtectedAccess() 1081 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess()
|
D | SemaLookup.cpp | 327 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity() 455 isa<FunctionTemplateDecl>(D) || isa<FieldDecl>(D); in canHideTag() 473 if (isa<FunctionTemplateDecl>(D)) in resolveKind() 551 } else if (isa<FunctionTemplateDecl>(D)) { in resolveKind() 850 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() 2880 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() 2881 dyn_cast<FunctionTemplateDecl>(Cand)) { in LookupSpecialMember() 3069 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) { in LookupLiteralOperator() 3223 if (!isa<FunctionDecl>(D) && !isa<FunctionTemplateDecl>(D)) in ArgumentDependentLookup() 4756 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() [all …]
|
D | SemaOverload.cpp | 927 if (!isa<FunctionTemplateDecl>(OldD) && in CheckOverload() 966 FunctionTemplateDecl *OldTemplate = Old->getDescribedFunctionTemplate(); in IsOverload() 967 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverload() 2988 FunctionTemplateDecl *ConstructorTmpl in IsInitializerListConstructorConversion() 2989 = dyn_cast<FunctionTemplateDecl>(D); in IsInitializerListConstructorConversion() 3120 FunctionTemplateDecl *ConstructorTmpl in IsUserDefinedConversion() 3121 = dyn_cast<FunctionTemplateDecl>(D); in IsUserDefinedConversion() 3178 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion() 3179 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion() 4119 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 1218 TemplateDeclInstantiator::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl() 1244 FunctionTemplateDecl *InstTemplate in VisitFunctionTemplateDecl() 1380 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitFunctionDecl() 1483 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, DC, in VisitFunctionDecl() 1547 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitFunctionDecl() 1654 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitCXXMethodDecl() 1809 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl() 3254 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() 3255 = dyn_cast<FunctionTemplateDecl>(ActiveInst.Entity)) { in InitFunctionInstantiation() 4186 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 | 455 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I); in PrintDeclContext()
|
D | MultiplexConsumer.cpp | 114 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, 167 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 81 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D); 200 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() 310 void USRGenerator::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 414 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() 415 = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() 548 !isa<FunctionTemplateDecl>(LM.D) || in ParseLexedMethodDef() 549 cast<FunctionTemplateDecl>(LM.D)->getTemplateParameters()->getDepth() in ParseLexedMethodDef()
|
/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 | 25 class FunctionTemplateDecl; variable 431 bool handleFunctionTemplate(const FunctionTemplateDecl *D);
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 114 else if (const FunctionTemplateDecl *FunTmpl in getBody() 115 = dyn_cast_or_null<FunctionTemplateDecl>(D)) in getBody()
|