/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ParsedTemplate.h | 64 SourceLocation TemplateLoc) in ParsedTemplateArgument() argument 66 Arg(Template.getAsOpaquePtr()), SS(SS), Loc(TemplateLoc) {} in ParsedTemplateArgument()
|
H A D | Sema.h | 11273 unsigned Depth, SourceLocation ExportLoc, SourceLocation TemplateLoc, 11389 SourceLocation TemplateLoc, 11406 SourceLocation TemplateLoc, SourceLocation LAngleLoc, 11418 SourceLocation TemplateLoc, 11428 SourceLocation TemplateLoc, 11601 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, 11609 SourceLocation TemplateLoc, 11616 SourceLocation TemplateLoc, 11623 TemplateDecl *Template, SourceLocation TemplateLoc, 11678 NamedDecl *Template, SourceLocation TemplateLoc, [all …]
|
H A D | DeclSpec.h | 1217 SourceLocation TemplateLoc) { in setDeductionGuideName() argument 1220 StartLocation = EndLocation = TemplateLoc; in setDeductionGuideName()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 1743 SourceLocation TemplateLoc, in ActOnTemplateParameterList() argument 1755 Context, TemplateLoc, LAngleLoc, in ActOnTemplateParameterList() 3064 SourceLocation TemplateLoc, in checkBuiltinTemplateIdType() argument 3114 TemplateLoc, SyntheticTemplateArgs); in checkBuiltinTemplateIdType() 3285 SourceLocation TemplateLoc, in CheckTemplateIdType() argument 3299 resolveAssumedTemplateNameAsType(/*Scope*/nullptr, Name, TemplateLoc)) in CheckTemplateIdType() 3311 Diag(TemplateLoc, diag::err_template_id_not_a_type) in CheckTemplateIdType() 3320 if (CheckTemplateArgumentList(Template, TemplateLoc, TemplateArgs, false, in CheckTemplateIdType() 3344 *this, /*PointOfInstantiation=*/TemplateLoc, in CheckTemplateIdType() 3349 (void)DiagnoseUseOfDecl(AliasTemplate, TemplateLoc); in CheckTemplateIdType() [all …]
|
H A D | TreeTransform.h | 1100 SourceLocation TemplateLoc,
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 123 SourceLocation TemplateLoc; in ParseTemplateDeclarationOrSpecialization() local 124 if (!TryConsumeToken(tok::kw_template, TemplateLoc)) { in ParseTemplateDeclarationOrSpecialization() 162 CurTemplateDepthTracker.getDepth(), ExportLoc, TemplateLoc, LAngleLoc, in ParseTemplateDeclarationOrSpecialization() 791 SourceLocation TemplateLoc = ConsumeToken(); in ParseTemplateTemplateParameter() local 875 Depth, SourceLocation(), TemplateLoc, LAngleLoc, TemplateParams, in ParseTemplateTemplateParameter() 894 getCurScope(), TemplateLoc, ParamList, TypenameKeyword, EllipsisLoc, in ParseTemplateTemplateParameter() 1580 SourceLocation TemplateLoc, SourceLocation &DeclEnd, in ParseExplicitInstantiation() argument 1585 ParsedTemplateInfo TemplateInfo(ExternLoc, TemplateLoc); in ParseExplicitInstantiation() 1595 SourceRange R(TemplateLoc); in getSourceRange()
|
H A D | ParseDeclCXX.cpp | 510 SourceLocation TemplateLoc = ConsumeToken(); in ParseUsingDirectiveOrDeclaration() local 511 Diag(TemplateLoc, diag::err_unexpected_template_after_using) in ParseUsingDirectiveOrDeclaration() 512 << FixItHint::CreateRemoval(TemplateLoc); in ParseUsingDirectiveOrDeclaration() 1914 TemplateInfo.TemplateLoc = SourceLocation(); in ParseClassSpecifier() 2156 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier() 2199 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 2202 << SourceRange(TemplateInfo.TemplateLoc) in ParseClassSpecifier() 2209 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, in ParseClassSpecifier() 2234 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier() 2258 << 1 << FixItHint::CreateRemoval(TemplateInfo.TemplateLoc); in ParseClassSpecifier() [all …]
|
H A D | ParseExprCXX.cpp | 2984 SourceLocation TemplateLoc = ConsumeToken(); in ParseUnqualifiedId() local 2985 Diag(TemplateLoc, diag::err_unexpected_template_in_unqualified_id) in ParseUnqualifiedId() 2986 << FixItHint::CreateRemoval(TemplateLoc); in ParseUnqualifiedId() 3097 SourceLocation TemplateLoc = TemplateId->TemplateKWLoc; in ParseUnqualifiedId() local 3098 if (TemplateLoc.isValid()) { in ParseUnqualifiedId() 3100 *TemplateKWLoc = TemplateLoc; in ParseUnqualifiedId() 3102 Diag(TemplateLoc, diag::err_unexpected_template_in_unqualified_id) in ParseUnqualifiedId() 3103 << FixItHint::CreateRemoval(TemplateLoc); in ParseUnqualifiedId()
|
H A D | Parser.cpp | 1042 SourceLocation TemplateLoc = ConsumeToken(); in ParseExternalDeclaration() local 1045 diag::ext_extern_template) << SourceRange(ExternLoc, TemplateLoc); in ParseExternalDeclaration() 1048 TemplateLoc, DeclEnd, Attrs); in ParseExternalDeclaration()
|
H A D | ParseDecl.cpp | 2406 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclGroup() 2409 << SourceRange(TemplateInfo.TemplateLoc) in ParseDeclGroup() 2415 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, in ParseDeclGroup() 2729 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, D); in ParseDeclarationAfterDeclaratorAndAttributes() 2743 << 2 << FixItHint::CreateRemoval(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2747 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2750 << SourceRange(TemplateInfo.TemplateLoc) in ParseDeclarationAfterDeclaratorAndAttributes() 2756 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, in ParseDeclarationAfterDeclaratorAndAttributes()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 75 SourceLocation TemplateLoc; variable 99 TemplateParameterList(const ASTContext& C, SourceLocation TemplateLoc, 117 SourceLocation TemplateLoc, 199 SourceLocation getTemplateLoc() const { return TemplateLoc; } in getTemplateLoc() 204 return SourceRange(TemplateLoc, RAngleLoc); in getSourceRange() 230 SourceLocation TemplateLoc, in FixedSizeTemplateParameterListStorage() argument 239 TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause))) {} in FixedSizeTemplateParameterListStorage()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclTemplate.cpp | 49 SourceLocation TemplateLoc, in TemplateParameterList() argument 54 : TemplateLoc(TemplateLoc), LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc), in TemplateParameterList() 119 TemplateParameterList::Create(const ASTContext &C, SourceLocation TemplateLoc, in Create() argument 126 return new (Mem) TemplateParameterList(C, TemplateLoc, LAngleLoc, Params, in Create()
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 1586 SourceLocation TemplateLoc) in ParsedTemplateInfo() 1588 ExternLoc(ExternLoc), TemplateLoc(TemplateLoc), in ParsedTemplateInfo() 1613 SourceLocation TemplateLoc; member 3843 SourceLocation TemplateLoc,
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 9242 SourceLocation TemplateLoc = readSourceLocation(); in readTemplateParameterList() local 9256 getContext(), TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause); in readTemplateParameterList()
|