Home
last modified time | relevance | path

Searched refs:TemplateLoc (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp1765 SourceLocation TemplateLoc, in ActOnTemplateParameterList() argument
1776 return TemplateParameterList::Create(Context, TemplateLoc, LAngleLoc, in ActOnTemplateParameterList()
3104 SourceLocation TemplateLoc, in builtinCommonTypeImpl() argument
3111 return builtinCommonTypeImpl(S, BaseTemplate, TemplateLoc, {T1, T2}); in builtinCommonTypeImpl()
3125 S.CheckTemplateIdType(BaseTemplate, TemplateLoc, Args); in builtinCommonTypeImpl()
3182 OpaqueValueExpr LHSExpr(TemplateLoc, D1, EVK); in builtinCommonTypeImpl()
3186 OpaqueValueExpr RHSExpr(TemplateLoc, D2, EVK); in builtinCommonTypeImpl()
3194 S.CheckConditionalOperands(Cond, LHS, RHS, VK, OK, TemplateLoc); in builtinCommonTypeImpl()
3200 return S.BuiltinDecay(Result, TemplateLoc); in builtinCommonTypeImpl()
3293 SourceLocation TemplateLoc, in checkBuiltinTemplateIdType() argument
[all …]
H A DTreeTransform.h1105 SourceLocation TemplateLoc,
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h65 SourceLocation TemplateLoc) in ParsedTemplateArgument() argument
67 Arg(Template.getAsOpaquePtr()), SS(SS), Loc(TemplateLoc) {} in ParsedTemplateArgument()
H A DSema.h11489 unsigned Depth, SourceLocation ExportLoc, SourceLocation TemplateLoc,
11607 SourceLocation TemplateLoc,
11624 SourceLocation TemplateLoc, SourceLocation LAngleLoc,
11636 SourceLocation TemplateLoc,
11646 SourceLocation TemplateLoc,
11819 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc,
11827 SourceLocation TemplateLoc,
11834 SourceLocation TemplateLoc,
11841 TemplateDecl *Template, SourceLocation TemplateLoc,
11919 NamedDecl *Template, SourceLocation TemplateLoc,
[all …]
H A DDeclSpec.h1219 SourceLocation TemplateLoc) { in setDeductionGuideName() argument
1222 StartLocation = EndLocation = TemplateLoc; in setDeductionGuideName()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp92 SourceLocation TemplateLoc; in ParseTemplateDeclarationOrSpecialization() local
93 if (!TryConsumeToken(tok::kw_template, TemplateLoc)) { in ParseTemplateDeclarationOrSpecialization()
131 CurTemplateDepthTracker.getDepth(), ExportLoc, TemplateLoc, LAngleLoc, in ParseTemplateDeclarationOrSpecialization()
692 SourceLocation TemplateLoc = ConsumeToken(); in ParseTemplateTemplateParameter() local
776 Depth, SourceLocation(), TemplateLoc, LAngleLoc, TemplateParams, in ParseTemplateTemplateParameter()
795 getCurScope(), TemplateLoc, ParamList, TypenameKeyword, EllipsisLoc, in ParseTemplateTemplateParameter()
1370 SourceLocation TemplateLoc, SourceLocation &DeclEnd, in ParseExplicitInstantiation() argument
1375 ParsedTemplateInfo TemplateInfo(ExternLoc, TemplateLoc); in ParseExplicitInstantiation()
1385 SourceRange R(TemplateLoc); in getSourceRange()
H A DParseDeclCXX.cpp460 SourceLocation TemplateLoc = ConsumeToken(); in ParseUsingDirectiveOrDeclaration() local
461 Diag(TemplateLoc, diag::err_unexpected_template_after_using) in ParseUsingDirectiveOrDeclaration()
462 << FixItHint::CreateRemoval(TemplateLoc); in ParseUsingDirectiveOrDeclaration()
1753 TemplateInfo.TemplateLoc = SourceLocation(); in ParseClassSpecifier()
2003 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier()
2046 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
2049 << SourceRange(TemplateInfo.TemplateLoc) in ParseClassSpecifier()
2056 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, {}, in ParseClassSpecifier()
2081 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier()
2124 << 1 << FixItHint::CreateRemoval(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
[all …]
H A DParseExprCXX.cpp2591 SourceLocation TemplateLoc = ConsumeToken(); in ParseUnqualifiedId() local
2592 Diag(TemplateLoc, diag::err_unexpected_template_in_unqualified_id) in ParseUnqualifiedId()
2593 << FixItHint::CreateRemoval(TemplateLoc); in ParseUnqualifiedId()
2704 SourceLocation TemplateLoc = TemplateId->TemplateKWLoc; in ParseUnqualifiedId() local
2705 if (TemplateLoc.isValid()) { in ParseUnqualifiedId()
2707 *TemplateKWLoc = TemplateLoc; in ParseUnqualifiedId()
2709 Diag(TemplateLoc, diag::err_unexpected_template_in_unqualified_id) in ParseUnqualifiedId()
2710 << FixItHint::CreateRemoval(TemplateLoc); in ParseUnqualifiedId()
H A DParser.cpp1000 SourceLocation TemplateLoc = ConsumeToken(); in ParseExternalDeclaration() local
1003 diag::ext_extern_template) << SourceRange(ExternLoc, TemplateLoc); in ParseExternalDeclaration()
1006 TemplateLoc, DeclEnd, Attrs); in ParseExternalDeclaration()
H A DParseDecl.cpp2242 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclGroup()
2245 << SourceRange(TemplateInfo.TemplateLoc) in ParseDeclGroup()
2251 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, {}, in ParseDeclGroup()
2542 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, D); in ParseDeclarationAfterDeclaratorAndAttributes()
2556 << 2 << FixItHint::CreateRemoval(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes()
2560 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes()
2563 << SourceRange(TemplateInfo.TemplateLoc) in ParseDeclarationAfterDeclaratorAndAttributes()
2569 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, {}, in ParseDeclarationAfterDeclaratorAndAttributes()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclTemplate.h78 SourceLocation TemplateLoc; variable
102 TemplateParameterList(const ASTContext& C, SourceLocation TemplateLoc,
120 SourceLocation TemplateLoc,
204 SourceLocation getTemplateLoc() const { return TemplateLoc; } in getTemplateLoc()
209 return SourceRange(TemplateLoc, RAngleLoc); in getSourceRange()
235 SourceLocation TemplateLoc, in FixedSizeTemplateParameterListStorage() argument
244 TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause))) {} in FixedSizeTemplateParameterListStorage()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp53 SourceLocation TemplateLoc, in TemplateParameterList() argument
58 : TemplateLoc(TemplateLoc), LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc), in TemplateParameterList()
126 TemplateParameterList::Create(const ASTContext &C, SourceLocation TemplateLoc, in Create() argument
133 return new (Mem) TemplateParameterList(C, TemplateLoc, LAngleLoc, Params, in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h7935 SourceLocation TemplateLoc) in ParsedTemplateInfo()
7938 TemplateLoc(TemplateLoc), LastParameterListWasEmpty(false) {} in ParsedTemplateInfo()
7952 SourceLocation TemplateLoc; member
8305 SourceLocation TemplateLoc,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp9860 SourceLocation TemplateLoc = readSourceLocation(); in readTemplateParameterList() local
9874 getContext(), TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause); in readTemplateParameterList()