/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 33 class FunctionTemplateDecl; variable 401 FunctionTemplateDecl *Template, in FunctionTemplateSpecializationInfo() 414 Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template, 428 llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template; 442 FunctionTemplateDecl *getTemplate() const { return Template.getPointer(); } in getTemplate() 567 FunctionTemplateDecl *> { 580 size_t numTrailingObjects(OverloadToken<FunctionTemplateDecl *>) const { in numTrailingObjects() argument 598 FunctionTemplateDecl *getTemplate(unsigned I) const { in getTemplate() 600 return getTrailingObjects<FunctionTemplateDecl *>()[I]; in getTemplate() 838 class FunctionTemplateDecl : public RedeclarableTemplateDecl { [all …]
|
D | ASTLambda.h | 56 if (FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(D)) in isLambdaConversionOperator()
|
D | ASTMutationListener.h | 26 class FunctionTemplateDecl; variable 70 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, in AddedCXXTemplateSpecialization()
|
D | DeclFriend.h | 134 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND)) in getSourceRange()
|
/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 242 void FunctionTemplateDecl::DeallocateCommon(void *Ptr) { in DeallocateCommon() 246 FunctionTemplateDecl *FunctionTemplateDecl::Create(ASTContext &C, in Create() 253 return new (C, DC) FunctionTemplateDecl(C, DC, L, Name, Params, Decl); in Create() 256 FunctionTemplateDecl *FunctionTemplateDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 258 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 263 FunctionTemplateDecl::newCommon(ASTContext &C) const { in newCommon() 269 void FunctionTemplateDecl::LoadLazySpecializations() const { in LoadLazySpecializations() 285 FunctionTemplateDecl::getSpecializations() const { in getSpecializations() 291 FunctionTemplateDecl::findSpecialization(ArrayRef<TemplateArgument> Args, in findSpecialization() 296 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 | 392 FunctionTemplateDecl *temp = specInfo->getTemplate(); in mergeTemplateLV() 2665 if (FunctionTemplateDecl *FunTmpl = getDescribedFunctionTemplate()) { in setPreviousDeclaration() 2666 FunctionTemplateDecl *PrevFunTmpl in setPreviousDeclaration() 3033 if (TemplateOrSpecialization.is<FunctionTemplateDecl *>()) in getTemplatedKind() 3068 FunctionTemplateDecl *FunctionDecl::getDescribedFunctionTemplate() const { in getDescribedFunctionTemplate() 3069 return TemplateOrSpecialization.dyn_cast<FunctionTemplateDecl *>(); in getDescribedFunctionTemplate() 3072 void FunctionDecl::setDescribedFunctionTemplate(FunctionTemplateDecl *Template) { in setDescribedFunctionTemplate() 3154 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern() 3169 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate() 3210 FunctionTemplateDecl *Template, in setFunctionTemplateSpecialization() [all …]
|
D | DeclCXX.cpp | 448 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D); in addedMember() 456 if (FunctionTemplateDecl *UnderlyingFunTmpl = in addedMember() 457 dyn_cast<FunctionTemplateDecl>(DUnderlying)) in addedMember() 1050 if (FunctionTemplateDecl *CallOpTmpl = in getLambdaCallOperator() 1051 dyn_cast<FunctionTemplateDecl>(CallOp)) in getLambdaCallOperator() 1065 if (FunctionTemplateDecl *InvokerTemplate = in getLambdaStaticInvoker() 1066 dyn_cast<FunctionTemplateDecl>(InvokerFun)) in getLambdaStaticInvoker() 1094 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList()
|
D | DeclPrinter.cpp | 79 void VisitFunctionTemplateDecl(FunctionTemplateDecl *D); 674 else if (FunctionTemplateDecl *FTD = in VisitFriendDecl() 675 dyn_cast<FunctionTemplateDecl>(D->getFriendDecl())) { in VisitFriendDecl() 967 void DeclPrinter::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
/external/clang/include/clang/Sema/ |
D | CodeCompleteConsumer.h | 148 class FunctionTemplateDecl; variable 841 FunctionTemplateDecl *FunctionTemplate; 852 OverloadCandidate(FunctionTemplateDecl *FunctionTemplateDecl) 853 : Kind(CK_FunctionTemplate), FunctionTemplate(FunctionTemplateDecl) { } 866 FunctionTemplateDecl *getFunctionTemplate() const {
|
D | Overload.h | 805 FunctionTemplateDecl *ConstructorTmpl; 819 Info.ConstructorTmpl = dyn_cast<FunctionTemplateDecl>(D); in getConstructorInfo()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 2474 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments() 2755 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() 3038 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D)) { in ResolveOverloadForDeduction() 3193 hasDeducibleTemplateParameters(Sema &S, FunctionTemplateDecl *FunctionTemplate, 3323 FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 3559 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() 3684 FunctionTemplateDecl *CallOpTemplate = in SpecializeCorrespondingLambdaCallOperatorAndInvoker() 3714 FunctionTemplateDecl *InvokerTemplate = LambdaClass-> in SpecializeCorrespondingLambdaCallOperatorAndInvoker() 3761 Sema::DeduceTemplateArguments(FunctionTemplateDecl *ConversionTemplate, in DeduceTemplateArguments() 3913 Sema::DeduceTemplateArguments(FunctionTemplateDecl *FunctionTemplate, in DeduceTemplateArguments() [all …]
|
D | SemaLambda.cpp | 404 FunctionTemplateDecl *const TemplateMethod = TemplateParams ? in startLambdaDefinition() 405 FunctionTemplateDecl::Create(Context, Class, in startLambdaDefinition() 1272 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1274 FunctionTemplateDecl *ConversionTemplate = in addFunctionPointerConversion() 1275 FunctionTemplateDecl::Create(S.Context, Class, in addFunctionPointerConversion() 1314 FunctionTemplateDecl *TemplateCallOperator = in addFunctionPointerConversion() 1316 FunctionTemplateDecl *StaticInvokerTemplate = FunctionTemplateDecl::Create( in addFunctionPointerConversion()
|
D | SemaAccess.cpp | 400 FunctionTemplateDecl *Context, in MightInstantiateTo() 401 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 | SemaLookup.cpp | 330 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity() 466 isa<FunctionTemplateDecl>(D) || isa<FieldDecl>(D); in canHideTag() 484 if (isa<FunctionTemplateDecl>(D)) in resolveKind() 562 } else if (isa<FunctionTemplateDecl>(D)) { in resolveKind() 865 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U); in LookupDirect() 2966 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() 2967 dyn_cast<FunctionTemplateDecl>(Cand->getUnderlyingDecl())) { in LookupSpecialMember() 3158 if (FunctionTemplateDecl *FD = dyn_cast<FunctionTemplateDecl>(D)) { in LookupLiteralOperator() 3312 if (!isa<FunctionDecl>(D) && !isa<FunctionTemplateDecl>(D)) in ArgumentDependentLookup() 4847 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(D)) in ValidateCandidate() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 243 if (auto *FTD = dyn_cast<FunctionTemplateDecl>(New)) in instantiateOMPDeclareSimdDeclAttr() 1325 TemplateDeclInstantiator::VisitFunctionTemplateDecl(FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl() 1351 FunctionTemplateDecl *InstTemplate in VisitFunctionTemplateDecl() 1487 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitFunctionDecl() 1590 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, DC, in VisitFunctionDecl() 1653 Previous.addDecl(cast<FunctionTemplateDecl>(Temp)); in VisitFunctionDecl() 1760 FunctionTemplateDecl *FunctionTemplate = D->getDescribedFunctionTemplate(); in VisitCXXMethodDecl() 1885 FunctionTemplate = FunctionTemplateDecl::Create(SemaRef.Context, Record, in VisitCXXMethodDecl() 3411 if (FunctionTemplateDecl *FunTmpl in InitFunctionInstantiation() 3412 = dyn_cast<FunctionTemplateDecl>(ActiveInst.Entity)) { in InitFunctionInstantiation() [all …]
|
D | SemaOverload.cpp | 965 if (!isa<FunctionTemplateDecl>(OldD) && in CheckOverload() 1004 FunctionTemplateDecl *OldTemplate = Old->getDescribedFunctionTemplate(); in IsOverload() 1005 FunctionTemplateDecl *NewTemplate = New->getDescribedFunctionTemplate(); in IsOverload() 3231 FunctionTemplateDecl *ConvTemplate; in IsUserDefinedConversion() 3232 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in IsUserDefinedConversion() 4176 FunctionTemplateDecl *ConvTemplate in FindConversionForRefInit() 4177 = dyn_cast<FunctionTemplateDecl>(D); in FindConversionForRefInit() 5441 FunctionTemplateDecl *ConvTemplate; in collectViableConversionCandidates() 5442 if ((ConvTemplate = dyn_cast<FunctionTemplateDecl>(D))) in collectViableConversionCandidates() 5541 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(D); in PerformContextualImplicitConversion() [all …]
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 453 FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(I); in PrintDeclContext()
|
D | MultiplexConsumer.cpp | 114 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, 170 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 421 if (FunctionTemplateDecl *FunTmpl in ParseLexedMethodDeclaration() 422 = dyn_cast<FunctionTemplateDecl>(LM.Method)) in ParseLexedMethodDeclaration() 555 !isa<FunctionTemplateDecl>(LM.D) || in ParseLexedMethodDef() 556 cast<FunctionTemplateDecl>(LM.D)->getTemplateParameters()->getDepth() in ParseLexedMethodDef()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 81 void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D); 207 if (FunctionTemplateDecl *FunTmpl = D->getDescribedFunctionTemplate()) { in VisitFunctionDecl() 321 void USRGenerator::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.h | 26 class FunctionTemplateDecl; variable 433 bool handleFunctionTemplate(const FunctionTemplateDecl *D);
|
D | CXIndexDataConsumer.cpp | 136 bool VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl() 864 bool CXIndexDataConsumer::handleFunctionTemplate(const FunctionTemplateDecl *D) { in handleFunctionTemplate() 1046 if (FunctionTemplateDecl *TemplD = FD->getDescribedFunctionTemplate()) in getEntityDecl() 1064 } else if (const FunctionTemplateDecl * in getEntityContainer() 1065 FuncTempl = dyn_cast<FunctionTemplateDecl>(D)) { in getEntityContainer()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 66 AST_MATCHER_P(clang::FunctionTemplateDecl, in AST_MATCHER_P() argument 444 bool GetNameForDecl(const clang::FunctionTemplateDecl& decl, in GetNameForDecl() 461 clang::dyn_cast<clang::FunctionTemplateDecl>(&decl)) in GetNameForDecl()
|