Home
last modified time | relevance | path

Searched refs:TemplateKWLoc (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp289 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr()
515 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument
687 if (HasTemplateArgs || TemplateKWLoc.isValid()) { in LookupMemberExprInRecord()
693 TemplateKWLoc); in LookupMemberExprInRecord()
778 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument
801 SS, TemplateArgs != nullptr, TemplateKWLoc, TE)) in BuildMemberReferenceExpr()
986 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument
1114 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildMemberReferenceExpr()
1727 HasTemplateArgs, TemplateKWLoc); in LookupMemberExpr()
1921 SourceLocation TemplateKWLoc, in BuildImplicitMemberExpr() argument
[all …]
H A DSemaCXXScopeSpec.cpp888 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument
920 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
927 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
969 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
977 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
H A DSemaTemplate.cpp4290 TemplateKWLoc.isInvalid() in ActOnTemplateIdType()
4318 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
4335 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
4389 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType()
4433 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType()
5148 TemplateKWLoc)) in BuildQualifiedTemplateIdExpr()
5201 Diag(TemplateKWLoc, in ActOnTemplateName()
5256 << TemplateKWLoc.isValid(); in ActOnTemplateName()
5315 << TemplateKWLoc.isValid() << TemplateKWLoc; in ActOnTemplateName()
5824 SourceLocation TemplateKWLoc; in CheckTemplateArgument() local
[all …]
H A DTreeTransform.h1122 SS, TemplateKWLoc, *Name, NameLoc, QualType(), nullptr, in RebuildDependentTemplateSpecializationType()
2819 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument
3433 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr()
3539 SS, TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr()
4519 SourceLocation TemplateKWLoc = NameLoc; in TransformTemplateName() local
4523 TemplateKWLoc, in TransformTemplateName()
11481 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); in TransformMemberExpr() local
11546 TemplateKWLoc, in TransformMemberExpr()
13209 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); in TransformDependentScopeDeclRefExpr() local
13883 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); in TransformCXXDependentScopeMemberExpr() local
[all …]
H A DSemaStmtAsm.cpp777 SourceLocation TemplateKWLoc, in LookupInlineAsmIdentifier() argument
786 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier()
H A DDeclSpec.cpp54 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend() argument
56 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc); in Extend()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h155 SourceLocation TemplateKWLoc; member
199 Create(SourceLocation TemplateKWLoc, SourceLocation TemplateNameLoc, in Create()
207 TemplateIdAnnotation(TemplateKWLoc, TemplateNameLoc, Name, in Create()
238 TemplateIdAnnotation(SourceLocation TemplateKWLoc, in TemplateIdAnnotation()
246 : TemplateKWLoc(TemplateKWLoc), TemplateNameLoc(TemplateNameLoc), in TemplateIdAnnotation()
H A DSema.h5666 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
5736 SourceLocation TemplateKWLoc,
5930 CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
5939 SourceLocation TemplateKWLoc,
5970 SourceLocation TemplateKWLoc,
7176 SourceLocation TemplateKWLoc,
8186 : TemplateKW(TemplateKWLoc) {} in TemplateKW() argument
8396 SourceLocation TemplateKWLoc,
8427 SourceLocation TemplateKWLoc,
8435 SourceLocation TemplateKWLoc,
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTConcept.h134 SourceLocation TemplateKWLoc; variable
152 ConceptReference(NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, in ConceptReference() argument
156 : NestedNameSpec(NNS), TemplateKWLoc(TemplateKWLoc), in ConceptReference()
163 SourceLocation TemplateKWLoc, DeclarationNameInfo ConceptNameInfo,
177 SourceLocation getTemplateKWLoc() const { return TemplateKWLoc; } in getTemplateKWLoc()
H A DTemplateBase.h739 SourceLocation TemplateKWLoc;
744 void initializeFrom(SourceLocation TemplateKWLoc,
750 void initializeFrom(SourceLocation TemplateKWLoc,
754 void initializeFrom(SourceLocation TemplateKWLoc);
H A DExprCXX.h2979 SourceLocation TemplateKWLoc,
3094 return getTrailingASTTemplateKWAndArgsInfo()->TemplateKWLoc; in getTemplateKeywordLoc()
3189 SourceLocation TemplateKWLoc,
3219 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
3298 SourceLocation TemplateKWLoc,
3313 SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo,
3346 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3708 SourceLocation TemplateKWLoc,
3798 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3940 SourceLocation TemplateKWLoc,
[all …]
H A DTypeLoc.h1607 SourceLocation TemplateKWLoc; member
1619 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1623 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
2375 SourceLocation TemplateKWLoc; member
2420 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
2424 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
H A DNestedNameSpecifier.h403 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
H A DExpr.h1277 SourceLocation TemplateKWLoc, ValueDecl *D,
1295 SourceLocation TemplateKWLoc, ValueDecl *D,
1303 SourceLocation TemplateKWLoc, ValueDecl *D,
1372 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3207 SourceLocation TemplateKWLoc, ValueDecl *MemberDecl,
3275 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp393 assert(Args || TemplateKWLoc.isValid()); in Create()
419 SourceLocation TemplateKWLoc, in OverloadExpr() argument
431 (TemplateArgs != nullptr ) || TemplateKWLoc.isValid(); in OverloadExpr()
444 } else if (TemplateKWLoc.isValid()) { in OverloadExpr()
470 (Args != nullptr) || TemplateKWLoc.isValid(); in DependentScopeDeclRefExpr()
475 } else if (TemplateKWLoc.isValid()) { in DependentScopeDeclRefExpr()
477 TemplateKWLoc); in DependentScopeDeclRefExpr()
1454 (TemplateArgs != nullptr) || TemplateKWLoc.isValid(); in CXXDependentScopeMemberExpr()
1464 } else if (TemplateKWLoc.isValid()) { in CXXDependentScopeMemberExpr()
1466 TemplateKWLoc); in CXXDependentScopeMemberExpr()
[all …]
H A DTemplateBase.cpp754 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument
756 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
765 void ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument
766 assert(TemplateKWLoc.isValid()); in initializeFrom()
769 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
774 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument
776 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
H A DASTConcept.cpp94 SourceLocation TemplateKWLoc, in Create() argument
98 return new (C) ConceptReference(NNS, TemplateKWLoc, ConceptNameInfo, in Create()
H A DExpr.cpp441 SourceLocation TemplateKWLoc, ValueDecl *D, in DeclRefExpr() argument
457 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr()
469 } else if (TemplateKWLoc.isValid()) { in DeclRefExpr()
471 TemplateKWLoc); in DeclRefExpr()
486 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
514 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
1704 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in Create() argument
1731 TemplateArgs || TemplateKWLoc.isValid(); in Create()
1738 TemplateKWLoc, *TemplateArgs, in Create()
1743 } else if (TemplateKWLoc.isValid()) { in Create()
[all …]
H A DNestedNameSpecifier.cpp564 SourceLocation TemplateKWLoc, in Extend() argument
568 TemplateKWLoc.isValid(), in Extend()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp281 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
598 SourceLocation TemplateKWLoc; in tryParseCXXIdExpression()
2871 if (TemplateKWLoc) in ParseUnqualifiedId()
2872 *TemplateKWLoc = SourceLocation(); in ParseUnqualifiedId()
2878 if (TemplateKWLoc && (ObjectType || SS.isSet())) { in ParseUnqualifiedId()
2880 *TemplateKWLoc = ConsumeToken(); in ParseUnqualifiedId()
2929 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId()
2987 if (TemplateKWLoc && (ObjectType || SS.isSet())) in ParseUnqualifiedId()
2988 *TemplateKWLoc = TemplateLoc; in ParseUnqualifiedId()
3015 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), nullptr, in ParseUnqualifiedId()
[all …]
H A DParseTemplate.cpp1360 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument
1398 getCurScope(), SS, TemplateKWLoc, Template, in AnnotateTemplateIdToken()
1406 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1407 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1426 TemplateKWLoc, TemplateNameLoc, TemplateII, OpKind, Template, TNK, in AnnotateTemplateIdToken()
1430 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1431 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1476 getCurScope(), SS, TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType()
1527 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local
1542 Actions.ActOnTemplateName(getCurScope(), SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument()
H A DParseStmtAsm.cpp229 SourceLocation TemplateKWLoc; in ParseMSAsmIdentifier() local
243 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Id); in ParseMSAsmIdentifier()
245 Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, in ParseMSAsmIdentifier()
H A DParseOpenACC.cpp873 SourceLocation TemplateKWLoc; in ParseOpenACCIDExpression() local
879 Res = Actions.ActOnIdExpression(getCurScope(), ScopeSpec, TemplateKWLoc, in ParseOpenACCIDExpression()
H A DParseExpr.cpp1266 SourceLocation TemplateKWLoc; in ParseCastExpression() local
1281 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression()
2268 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local
2288 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Name)) { in ParsePostfixExpressionSuffix()
2295 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
H A DParser.cpp2072 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
2351 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local
2356 /*AllowDeductionGuide*/ false, &TemplateKWLoc, in ParseMicrosoftIfExistsCondition()

12