| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 119 SourceLocation TemplateLoc; in ParseTemplateDeclarationOrSpecialization() local 120 if (!TryConsumeToken(tok::kw_template, TemplateLoc)) { in ParseTemplateDeclarationOrSpecialization() 158 CurTemplateDepthTracker.getDepth(), ExportLoc, TemplateLoc, LAngleLoc, in ParseTemplateDeclarationOrSpecialization() 306 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate() 309 << SourceRange(TemplateInfo.TemplateLoc) in ParseSingleDeclarationAfterTemplate() 315 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, None, in ParseSingleDeclarationAfterTemplate() 859 SourceLocation TemplateLoc = ConsumeToken(); in ParseTemplateTemplateParameter() local 928 TemplateLoc, LAngleLoc, in ParseTemplateTemplateParameter() 947 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter() 1598 SourceLocation TemplateLoc, in ParseExplicitInstantiation() argument [all …]
|
| H A D | ParseDeclCXX.cpp | 481 SourceLocation TemplateLoc = ConsumeToken(); in ParseUsingDirectiveOrDeclaration() local 482 Diag(TemplateLoc, diag::err_unexpected_template_after_using) in ParseUsingDirectiveOrDeclaration() 483 << FixItHint::CreateRemoval(TemplateLoc); in ParseUsingDirectiveOrDeclaration() 1613 const_cast<ParsedTemplateInfo &>(TemplateInfo).TemplateLoc = in ParseClassSpecifier() 1843 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier() 1889 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 1892 << SourceRange(TemplateInfo.TemplateLoc) in ParseClassSpecifier() 1899 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, None, in ParseClassSpecifier() 1924 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, in ParseClassSpecifier() 1946 << 1 << FixItHint::CreateRemoval(TemplateInfo.TemplateLoc); in ParseClassSpecifier() [all …]
|
| H A D | ParseExprCXX.cpp | 2767 SourceLocation TemplateLoc = ConsumeToken(); in ParseUnqualifiedId() local 2768 Diag(TemplateLoc, diag::err_unexpected_template_in_unqualified_id) in ParseUnqualifiedId() 2769 << FixItHint::CreateRemoval(TemplateLoc); in ParseUnqualifiedId() 2869 SourceLocation TemplateLoc = TemplateId->TemplateKWLoc; in ParseUnqualifiedId() local 2870 if (TemplateLoc.isValid()) { in ParseUnqualifiedId() 2872 *TemplateKWLoc = TemplateLoc; in ParseUnqualifiedId() 2874 Diag(TemplateLoc, diag::err_unexpected_template_in_unqualified_id) in ParseUnqualifiedId() 2875 << FixItHint::CreateRemoval(TemplateLoc); in ParseUnqualifiedId()
|
| H A D | Parser.cpp | 945 SourceLocation TemplateLoc = ConsumeToken(); in ParseExternalDeclaration() local 948 diag::ext_extern_template) << SourceRange(ExternLoc, TemplateLoc); in ParseExternalDeclaration() 951 DeclaratorContext::File, ExternLoc, TemplateLoc, DeclEnd, attrs)); in ParseExternalDeclaration()
|
| H A D | ParseDecl.cpp | 2282 getCurScope(), TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, D); in ParseDeclarationAfterDeclaratorAndAttributes() 2296 << 2 << FixItHint::CreateRemoval(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2300 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2303 << SourceRange(TemplateInfo.TemplateLoc) in ParseDeclarationAfterDeclaratorAndAttributes() 2309 0, SourceLocation(), TemplateInfo.TemplateLoc, LAngleLoc, None, in ParseDeclarationAfterDeclaratorAndAttributes()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 1690 SourceLocation TemplateLoc, in ActOnTemplateParameterList() argument 1702 Context, TemplateLoc, LAngleLoc, in ActOnTemplateParameterList() 3444 SourceLocation TemplateLoc, in checkBuiltinTemplateIdType() argument 3485 TemplateLoc, SyntheticTemplateArgs); in checkBuiltinTemplateIdType() 3651 SourceLocation TemplateLoc, in CheckTemplateIdType() argument 3666 resolveAssumedTemplateNameAsType(/*Scope*/nullptr, Name, TemplateLoc)) in CheckTemplateIdType() 3677 Diag(TemplateLoc, diag::err_template_id_not_a_type) in CheckTemplateIdType() 3686 if (CheckTemplateArgumentList(Template, TemplateLoc, TemplateArgs, in CheckTemplateIdType() 3711 InstantiatingTemplate Inst(*this, TemplateLoc, Template); in CheckTemplateIdType() 3825 InstantiatingTemplate Inst(*this, TemplateLoc, Decl); in CheckTemplateIdType() [all …]
|
| H A D | TreeTransform.h | 1008 SourceLocation TemplateLoc,
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | ParsedTemplate.h | 64 SourceLocation TemplateLoc) in ParsedTemplateArgument() argument 67 SS(SS), Loc(TemplateLoc), EllipsisLoc() { } in ParsedTemplateArgument()
|
| H A D | Sema.h | 7503 SourceLocation TemplateLoc, 7559 SourceLocation TemplateLoc, 7577 SourceLocation TemplateLoc, 7591 SourceLocation TemplateLoc, 7601 SourceLocation TemplateLoc, 7668 Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, 7675 SourceLocation TemplateLoc, 7683 SourceLocation TemplateLoc, 7688 SourceLocation TemplateLoc, 7714 SourceLocation TemplateLoc, [all …]
|
| H A D | DeclSpec.h | 1142 SourceLocation TemplateLoc) { in setDeductionGuideName() argument 1145 StartLocation = EndLocation = TemplateLoc; in setDeductionGuideName()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 48 SourceLocation TemplateLoc, in TemplateParameterList() argument 53 : TemplateLoc(TemplateLoc), LAngleLoc(LAngleLoc), RAngleLoc(RAngleLoc), in TemplateParameterList() 117 TemplateParameterList::Create(const ASTContext &C, SourceLocation TemplateLoc, in Create() argument 124 return new (Mem) TemplateParameterList(C, TemplateLoc, LAngleLoc, Params, in Create()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 73 SourceLocation TemplateLoc; variable 94 TemplateParameterList(const ASTContext& C, SourceLocation TemplateLoc, 112 SourceLocation TemplateLoc, 193 SourceLocation getTemplateLoc() const { return TemplateLoc; } in getTemplateLoc() 198 return SourceRange(TemplateLoc, RAngleLoc); in getSourceRange() 223 SourceLocation TemplateLoc, in FixedSizeTemplateParameterListStorage() argument 232 TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause))) {} in FixedSizeTemplateParameterListStorage()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/ |
| H A D | Parser.h | 1477 : Kind(NonTemplate), TemplateParams(nullptr), TemplateLoc() { } in ParsedTemplateInfo() 1487 SourceLocation TemplateLoc) in ParsedTemplateInfo() 1489 ExternLoc(ExternLoc), TemplateLoc(TemplateLoc), in ParsedTemplateInfo() 1514 SourceLocation TemplateLoc; member 3427 SourceLocation TemplateLoc,
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 8778 SourceLocation TemplateLoc = readSourceLocation(); in readTemplateParameterList() local 8792 getContext(), TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause); in readTemplateParameterList()
|