/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() 739 class FunctionTemplateDecl : public RedeclarableTemplateDecl { 769 FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L, [all …]
|
D | ASTLambda.h | 56 if (FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(D)) in isLambdaConversionOperator()
|
D | ASTMutationListener.h | 26 class FunctionTemplateDecl; variable 67 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 | 247 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 …]
|
D | DeclFriend.cpp | 37 isa<FunctionTemplateDecl>(D) || in Create()
|
D | Comment.cpp | 188 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl); in fill()
|
D | Decl.cpp | 386 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 …]
|
D | DeclCXX.cpp | 436 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()
|
D | DeclPrinter.cpp | 70 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/ |
D | CodeCompleteConsumer.h | 146 class FunctionTemplateDecl; variable 837 FunctionTemplateDecl *FunctionTemplate; 848 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) 849 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { } 862 FunctionTemplateDecl *getFunctionTemplate() const {
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 2469 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 …]
|
D | SemaLambda.cpp | 402 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()
|
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 | 915 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 …]
|
D | SemaLookup.cpp | 323 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()
|
D | SemaTemplateInstantiateDecl.cpp | 1171 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/ |
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/Index/ |
D | USRGeneration.cpp | 81 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/ |
D | ASTConsumers.cpp | 455 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I); in PrintDeclContext()
|
D | MultiplexConsumer.cpp | 99 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, 152 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization()
|
/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/Parse/ |
D | ParseCXXInlineMethods.cpp | 417 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()
|