Home
last modified time | relevance | path

Searched defs:Template (Results 1 – 25 of 63) sorted by relevance

123

/freebsd-src/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h38 Template enumerator
63 ParsedTemplateTy Template, in ParsedTemplateArgument() argument
169 ParsedTemplateTy Template; member
[all...]
H A DCodeCompleteConsumer.h1070 const TemplateDecl *Template; global() member
1103 OverloadCandidate(const TemplateDecl * Template) OverloadCandidate() argument
/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp106 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {} in TemplateName() argument
253 if (TemplateDecl *Template = getAsTemplateDecl()) { getDependence() local
296 TemplateDecl *Template = nullptr; print() local
[all...]
H A DDeclarationName.cpp289 DeclarationNameTable::getCXXDeductionGuideName(TemplateDecl *Template) { in getCXXDeductionGuideName()
H A DNestedNameSpecifier.cpp106 bool Template, const Type *T) { in Create() argument
H A DTemplateBase.cpp704 TemplateTemplateArgLocInfo *Template = new (Ctx) TemplateTemplateArgLocInfo; TemplateArgumentLocInfo() local
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Tooling/
H A DRefactoringCallbacks.h108 std::vector<TemplateElement> Template; variable
/freebsd-src/contrib/llvm-project/clang/lib/ExtractAPI/
H A DAPI.cpp76 addGlobalVariableTemplate(StringRef Name,StringRef USR,PresumedLoc Loc,AvailabilityInfo Availability,LinkageInfo Linkage,const DocComment & Comment,DeclarationFragments Declaration,DeclarationFragments SubHeading,Template Template,bool IsFromSystemHeader) addGlobalVariableTemplate() argument
100 addGlobalFunctionTemplate(StringRef Name,StringRef USR,PresumedLoc Loc,AvailabilityInfo Availability,LinkageInfo Linkage,const DocComment & Comment,DeclarationFragments Declaration,DeclarationFragments SubHeading,FunctionSignature Signature,Template Template,bool IsFromSystemHeader) addGlobalFunctionTemplate() argument
204 addCXXFieldTemplate(APIRecord * Parent,StringRef Name,StringRef USR,PresumedLoc Loc,AvailabilityInfo Availability,const DocComment & Comment,DeclarationFragments Declaration,DeclarationFragments SubHeading,AccessControl Access,Template Template,bool IsFromSystemHeader) addCXXFieldTemplate() argument
234 addClassTemplate(APIRecord * Parent,StringRef Name,StringRef USR,PresumedLoc Loc,AvailabilityInfo Availability,const DocComment & Comment,DeclarationFragments Declaration,DeclarationFragments SubHeading,Template Template,AccessControl Access,bool IsFromSystemHeader) addClassTemplate() argument
265 addClassTemplatePartialSpecialization(APIRecord * Parent,StringRef Name,StringRef USR,PresumedLoc Loc,AvailabilityInfo Availability,const DocComment & Comment,DeclarationFragments Declaration,DeclarationFragments SubHeading,Template Template,AccessControl Access,bool IsFromSystemHeader) addClassTemplatePartialSpecialization() argument
293 addGlobalVariableTemplatePartialSpecialization(StringRef Name,StringRef USR,PresumedLoc Loc,AvailabilityInfo Availability,LinkageInfo Linkage,const DocComment & Comment,DeclarationFragments Declaration,DeclarationFragments SubHeading,Template Template,bool IsFromSystemHeader) addGlobalVariableTemplatePartialSpecialization() argument
307 addConcept(StringRef Name,StringRef USR,PresumedLoc Loc,AvailabilityInfo Availability,const DocComment & Comment,DeclarationFragments Declaration,DeclarationFragments SubHeading,Template Template,bool IsFromSystemHeader) addConcept() argument
351 addCXXMethodTemplate(APIRecord * Parent,StringRef Name,StringRef USR,PresumedLoc Loc,AvailabilityInfo Availability,const DocComment & Comment,DeclarationFragments Declaration,DeclarationFragments SubHeading,FunctionSignature Signature,AccessControl Access,Template Template,bool IsFromSystemHeader) addCXXMethodTemplate() argument
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp623 RetainSummaryTemplate Template(S, *this); in updateSummaryForReceiverUnconsumedSelf() local
632 RetainSummaryTemplate Template(RS, *this); in updateSummaryForArgumentTypes() local
913 RetainSummaryTemplate &Template) { in applyParamAnnotationEffect()
981 RetainSummaryTemplate Template(Summ, *this); in updateSummaryFromAnnotations() local
1004 RetainSummaryTemplate Template(Summ, *this); in updateSummaryFromAnnotations() local
/freebsd-src/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp1287 ParseTemplateIdAfterTemplateName(bool ConsumeLastToken,SourceLocation & LAngleLoc,TemplateArgList & TemplateArgs,SourceLocation & RAngleLoc,TemplateTy Template) ParseTemplateIdAfterTemplateName() argument
1358 AnnotateTemplateIdToken(TemplateTy Template,TemplateNameKind TNK,CXXScopeSpec & SS,SourceLocation TemplateKWLoc,UnqualifiedId & TemplateName,bool AllowTypeAnnotation,bool TypeConstraint) AnnotateTemplateIdToken() argument
1540 TemplateTy Template; ParseTemplateTemplateArgument() local
1549 TemplateTy Template; ParseTemplateTemplateArgument() local
1646 ParseTemplateArgumentList(TemplateArgList & TemplateArgs,TemplateTy Template,SourceLocation OpenLoc) ParseTemplateArgumentList() argument
[all...]
H A DParseExprCXX.cpp95 TemplateTy Template; CheckForTemplateAndDigraph() local
322 TemplateTy Template; ParseOptionalCXXScopeSpecifier() local
482 TemplateTy Template; ParseOptionalCXXScopeSpecifier() local
2437 TemplateTy Template; ParseUnqualifiedIdTemplateId() local
2925 TemplateTy Template; ParseUnqualifiedId() local
3009 TemplateTy Template; ParseUnqualifiedId() local
[all...]
H A DParser.cpp1481 if (const auto *Template = dyn_cast_if_present<FunctionTemplateDecl>(Res); ParseFunctionDefinition() local
2165 TemplateTy Template; TryAnnotateTypeOrScopeTokenAfterScopeSpec() local
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp457 InstantiatingTemplate(Sema & SemaRef,CodeSynthesisContext::SynthesisKind Kind,SourceLocation PointOfInstantiation,SourceRange InstantiationRange,Decl * Entity,NamedDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo * DeductionInfo) InstantiatingTemplate() argument
505 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateParameter Param,TemplateDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
529 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
570 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,NamedDecl * Template,NonTypeTemplateParmDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
580 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,NamedDecl * Template,TemplateTemplateParmDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
590 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,TemplateDecl * Template,NamedDecl * Param,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
628 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintsCheck,NamedDecl * Template,ArrayRef<TemplateArgument> TemplateArgs,SourceRange InstantiationRange) InstantiatingTemplate() argument
637 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintSubstitution,NamedDecl * Template,sema::TemplateDeductionInfo & DeductionInfo,SourceRange InstantiationRange) InstantiatingTemplate() argument
646 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ConstraintNormalization,NamedDecl * Template,SourceRange InstantiationRange) InstantiatingTemplate() argument
654 InstantiatingTemplate(Sema & SemaRef,SourceLocation PointOfInstantiation,ParameterMappingSubstitution,NamedDecl * Template,SourceRange InstantiationRange) InstantiatingTemplate() argument
838 TemplateDecl *Template = cast<TemplateDecl>(Active->Template); PrintInstantiationStack() local
924 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) PrintInstantiationStack() local
943 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template)) PrintInstantiationStack() local
1628 TemplateName Template = Arg.getAsTemplate().getNameToSubstitute(); TransformDecl() local
1801 TemplateName Template = Arg.getAsTemplate().getNameToSubstitute(); TransformTemplateName() local
1819 TemplateName Template = TransformTemplateName() local
3685 ClassTemplateDecl *Template = ClassTemplateSpec->getSpecializedTemplate(); getPatternForClassTemplateSpecialization() local
3801 ClassTemplateDecl *Template = ClassTemplateSpec->getSpecializedTemplate(); getPatternForClassTemplateSpecialization() local
[all...]
H A DHLSLExternalSemaSource.cpp33 ClassTemplateDecl *Template = nullptr; member
459 auto *Template = defineHLSLVectorAlias() local
[all...]
H A DSemaTemplate.cpp265 TemplateName Template; isTemplateName() local
321 isDeductionGuideName(Scope * S,const IdentifierInfo & Name,SourceLocation NameLoc,CXXScopeSpec & SS,ParsedTemplateTy * Template) isDeductionGuideName() argument
943 TemplateName Template = Arg.getAsTemplate().get(); translateTemplateArgument() local
2298 ClassTemplateDecl *Template; global() member
2683 DeclareImplicitDeductionGuideFromInitList(TemplateDecl * Template,MutableArrayRef<QualType> ParamTypes,SourceLocation Loc) DeclareImplicitDeductionGuideFromInitList() argument
2723 DeclareImplicitDeductionGuides(TemplateDecl * Template,SourceLocation Loc) DeclareImplicitDeductionGuides() argument
3430 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { MatchTemplateParametersToScopeSpecifier() local
3569 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { MatchTemplateParametersToScopeSpecifier() local
3738 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { NoteAllFoundTemplates() local
4003 TemplateDecl *Template = Name.getAsTemplateDecl(); CheckTemplateIdType() local
4298 TemplateName Template = TemplateD.get(); ActOnTemplateIdType() local
4366 TemplateName Template = TemplateD.get(); ActOnTagTemplateIdType() local
4531 auto *Template = Partial->getSpecializedTemplate(); checkMoreSpecializedThanPrimary() local
4844 CheckVarTemplateId(VarTemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation TemplateNameLoc,const TemplateArgumentListInfo & TemplateArgs) CheckVarTemplateId() argument
4999 CheckVarTemplateId(const CXXScopeSpec & SS,const DeclarationNameInfo & NameInfo,VarTemplateDecl * Template,SourceLocation TemplateLoc,const TemplateArgumentListInfo * TemplateArgs) CheckVarTemplateId() argument
5454 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,TemplateTypeParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted) SubstDefaultTemplateArgument() argument
5511 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,NonTypeTemplateParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted) SubstDefaultTemplateArgument() argument
5559 SubstDefaultTemplateArgument(Sema & SemaRef,TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,TemplateTemplateParmDecl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted,NestedNameSpecifierLoc & QualifierLoc) SubstDefaultTemplateArgument() argument
5597 SubstDefaultTemplateArgumentIfAvailable(TemplateDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,Decl * Param,ArrayRef<TemplateArgument> SugaredConverted,ArrayRef<TemplateArgument> CanonicalConverted,bool & HasDefaultArg) SubstDefaultTemplateArgumentIfAvailable() argument
5713 CheckTemplateArgument(NamedDecl * Param,TemplateArgumentLoc & Arg,NamedDecl * Template,SourceLocation TemplateLoc,SourceLocation RAngleLoc,unsigned ArgumentPackIndex,SmallVectorImpl<TemplateArgument> & SugaredConverted,SmallVectorImpl<TemplateArgument> & CanonicalConverted,CheckTemplateArgumentKind CTAK) CheckTemplateArgument() argument
6001 CheckTemplateArgumentList(TemplateDecl * Template,SourceLocation TemplateLoc,TemplateArgumentListInfo & TemplateArgs,bool PartialTemplateArgs,SmallVectorImpl<TemplateArgument> & SugaredConverted,SmallVectorImpl<TemplateArgument> & CanonicalConverted,bool UpdateArgsWithConversions,bool * ConstraintsNotSatisfied) CheckTemplateArgumentList() argument
7839 TemplateDecl *Template = Name.getAsTemplateDecl(); CheckTemplateTemplateArgument() local
11097 TemplateName Template = TemplateIn.get(); ActOnTypenameType() local
[all...]
H A DSemaConcept.cpp336 calculateConstraintSatisfaction(Sema & S,const NamedDecl * Template,SourceLocation TemplateNameLoc,const MultiLevelTemplateArgumentList & MLTAL,const Expr * ConstraintExpr,ConstraintSatisfaction & Satisfaction) calculateConstraintSatisfaction() argument
428 CheckConstraintSatisfaction(Sema & S,const NamedDecl * Template,ArrayRef<const Expr * > ConstraintExprs,llvm::SmallVectorImpl<Expr * > & Converted,const MultiLevelTemplateArgumentList & TemplateArgsLists,SourceRange TemplateIDRange,ConstraintSatisfaction & Satisfaction) CheckConstraintSatisfaction() argument
476 CheckConstraintSatisfaction(const NamedDecl * Template,ArrayRef<const Expr * > ConstraintExprs,llvm::SmallVectorImpl<Expr * > & ConvertedConstraints,const MultiLevelTemplateArgumentList & TemplateArgsLists,SourceRange TemplateIDRange,ConstraintSatisfaction & OutSatisfaction) CheckConstraintSatisfaction() argument
892 FunctionTemplateDecl *Template = Decl->getPrimaryTemplate(); CheckInstantiatedFunctionTemplateConstraints() local
[all...]
H A DSemaTemplateDeduction.cpp2628 TemplateName Template = Arg.getAsTemplateOrTemplatePattern(); getTrivialTemplateArgumentLoc() local
2663 ConvertDeducedTemplateArgument(Sema & S,NamedDecl * Param,DeducedTemplateArgument Arg,NamedDecl * Template,TemplateDeductionInfo & Info,bool IsDeduced,SmallVectorImpl<TemplateArgument> & SugaredOutput,SmallVectorImpl<TemplateArgument> & CanonicalOutput) ConvertDeducedTemplateArgument() argument
2758 ConvertDeducedTemplateArguments(Sema & S,TemplateDeclT * Template,bool IsDeduced,SmallVectorImpl<DeducedTemplateArgument> & Deduced,TemplateDeductionInfo & Info,SmallVectorImpl<TemplateArgument> & SugaredBuilder,SmallVectorImpl<TemplateArgument> & CanonicalBuilder,LocalInstantiationScope * CurrentInstantiationScope=nullptr,unsigned NumAlreadyConverted=0,bool PartialOverloading=false) ConvertDeducedTemplateArguments() argument
2895 DeducedArgsNeedReplacement(TemplateDeclT * Template) DeducedArgsNeedReplacement() argument
2911 CheckDeducedArgumentConstraints(Sema & S,TemplateDeclT * Template,ArrayRef<TemplateArgument> SugaredDeducedArgs,ArrayRef<TemplateArgument> CanonicalDeducedArgs,TemplateDeductionInfo & Info) CheckDeducedArgumentConstraints() argument
2986 auto *Template = Partial->getSpecializedTemplate(); FinishTemplateArgumentDeduction() local
3045 FinishTemplateArgumentDeduction(Sema & S,TemplateDecl * Template,bool PartialOrdering,const TemplateArgumentList & TemplateArgs,SmallVectorImpl<DeducedTemplateArgument> & Deduced,TemplateDeductionInfo & Info) FinishTemplateArgumentDeduction() argument
6158 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { MarkUsedTemplateParameters() local
[all...]
H A DSemaTemplateVariadic.cpp102 TraverseTemplateName(TemplateName Template) TraverseTemplateName() argument
495 DiagnoseUnexpandedParameterPack(SourceLocation Loc,TemplateName Template,UnexpandedParameterPackContext UPPC) DiagnoseUnexpandedParameterPack() argument
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateName.h219 Template, global() enumerator
451 QualifiedTemplateName(NestedNameSpecifier * NNS,bool TemplateKeyword,TemplateName Template) QualifiedTemplateName() argument
[all...]
H A DDeclTemplate.h495 llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template; global() variable
512 FunctionTemplateSpecializationInfo(FunctionDecl * FD,FunctionTemplateDecl * Template,TemplateSpecializationKind TSK,const TemplateArgumentList * TemplateArgs,const ASTTemplateArgumentListInfo * TemplateArgsAsWritten,SourceLocation POI,MemberSpecializationInfo * MSInfo) FunctionTemplateSpecializationInfo() argument
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp155 llvm::StringRef FromId, std::vector<TemplateElement> Template) in ReplaceNodeWithTemplate()
/freebsd-src/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp215 Template = CTSD->getSpecializedTemplateOrPartial(); in gatherTemplatePseudoOverrides() local
666 Template = D->getSpecializedTemplateOrPartial(); in VisitClassTemplateSpecializationDecl() local
H A DIndexingContext.cpp211 const auto *Template = SD->getTemplateInstantiationPattern(); in adjustTemplateImplicitInstantiation() local
/freebsd-src/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h66 Template(const TemplateDecl *Decl) { Template() function
84 Template(const ClassTemplatePartialSpecializationDecl *Decl) { Template() function
102 Template(const VarTemplatePartialSpecializationDecl *Decl) { Template() function
[all...]
/freebsd-src/sys/contrib/dev/acpica/include/
H A Dacdisasm.h329 const unsigned char *Template; global() member

123