Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprMember.cpp257 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr()
483 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument
655 if (HasTemplateArgs || TemplateKWLoc.isValid()) { in LookupMemberExprInRecord()
661 TemplateKWLoc); in LookupMemberExprInRecord()
746 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument
768 SS, TemplateArgs != nullptr, TemplateKWLoc, TE)) in BuildMemberReferenceExpr()
953 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument
1081 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildMemberReferenceExpr()
1759 Base, Base->getType(), OpLoc, IsArrow, SS, TemplateKWLoc, in ActOnMemberAccessExpr()
1887 SourceLocation TemplateKWLoc, in BuildImplicitMemberExpr() argument
[all …]
H A DSemaTemplate.cpp3999 TemplateKWLoc.isInvalid() in ActOnTemplateIdType()
4028 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
4045 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
4102 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType()
4146 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType()
4847 TemplateKWLoc)) in BuildQualifiedTemplateIdExpr()
4893 Diag(TemplateKWLoc, in ActOnTemplateName()
4948 << TemplateKWLoc.isValid(); in ActOnTemplateName()
5007 << TemplateKWLoc.isValid() << TemplateKWLoc; in ActOnTemplateName()
5539 SourceLocation TemplateKWLoc; in CheckTemplateArgument() local
[all …]
H A DSemaCXXScopeSpec.cpp912 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument
945 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
952 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
994 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
1002 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
H A DTreeTransform.h1056 SS, TemplateKWLoc, *Name, NameLoc, QualType(), nullptr, in RebuildDependentTemplateSpecializationType()
2673 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument
3252 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr()
3363 SS, TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr()
4332 SourceLocation TemplateKWLoc = NameLoc; in TransformTemplateName() local
4336 TemplateKWLoc, in TransformTemplateName()
11098 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); in TransformMemberExpr() local
11163 TemplateKWLoc, in TransformMemberExpr()
12793 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); in TransformDependentScopeDeclRefExpr() local
13429 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); in TransformCXXDependentScopeMemberExpr() local
[all …]
H A DSemaStmtAsm.cpp769 SourceLocation TemplateKWLoc, in LookupInlineAsmIdentifier() argument
778 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier()
H A DDeclSpec.cpp53 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend() argument
55 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc); in Extend()
/llvm-project-15.0.7/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.h5400 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
5468 SourceLocation TemplateKWLoc,
5633 CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
5642 SourceLocation TemplateKWLoc,
5673 SourceLocation TemplateKWLoc,
6875 SourceLocation TemplateKWLoc,
7741 : TemplateKW(TemplateKWLoc) {} in TemplateKW() argument
7946 SourceLocation TemplateKWLoc,
7977 SourceLocation TemplateKWLoc,
7985 SourceLocation TemplateKWLoc,
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTConcept.h106 SourceLocation TemplateKWLoc; variable
125 ConceptReference(NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, in ConceptReference() argument
129 : NestedNameSpec(NNS), TemplateKWLoc(TemplateKWLoc), in ConceptReference()
146 SourceLocation getTemplateKWLoc() const { return TemplateKWLoc; } in getTemplateKWLoc()
H A DTemplateBase.h677 SourceLocation TemplateKWLoc;
682 void initializeFrom(SourceLocation TemplateKWLoc,
688 void initializeFrom(SourceLocation TemplateKWLoc,
692 void initializeFrom(SourceLocation TemplateKWLoc);
H A DTypeLoc.h1601 SourceLocation TemplateKWLoc; member
1613 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1617 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
2102 SourceLocation TemplateKWLoc; member
2141 return getLocalData()->TemplateKWLoc; in getTemplateKWLoc()
2145 getLocalData()->TemplateKWLoc = Loc; in setTemplateKWLoc()
2369 SourceLocation TemplateKWLoc; member
2414 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
2418 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
H A DExprConcepts.h59 SourceLocation TemplateKWLoc,
78 SourceLocation TemplateKWLoc, DeclarationNameInfo ConceptNameInfo,
H A DExprCXX.h2910 SourceLocation TemplateKWLoc,
3025 return getTrailingASTTemplateKWAndArgsInfo()->TemplateKWLoc; in getTemplateKeywordLoc()
3120 SourceLocation TemplateKWLoc,
3146 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
3225 SourceLocation TemplateKWLoc,
3240 SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo,
3273 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3634 SourceLocation TemplateKWLoc,
3724 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3866 SourceLocation TemplateKWLoc,
[all …]
H A DNestedNameSpecifier.h403 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
H A DExpr.h1256 SourceLocation TemplateKWLoc, ValueDecl *D,
1274 SourceLocation TemplateKWLoc, ValueDecl *D,
1282 SourceLocation TemplateKWLoc, ValueDecl *D,
1351 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3216 SourceLocation TemplateKWLoc, ValueDecl *MemberDecl,
3284 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprCXX.cpp389 assert(Args || TemplateKWLoc.isValid()); in Create()
415 SourceLocation TemplateKWLoc, in OverloadExpr() argument
427 (TemplateArgs != nullptr ) || TemplateKWLoc.isValid(); in OverloadExpr()
440 } else if (TemplateKWLoc.isValid()) { in OverloadExpr()
466 (Args != nullptr) || TemplateKWLoc.isValid(); in DependentScopeDeclRefExpr()
471 } else if (TemplateKWLoc.isValid()) { in DependentScopeDeclRefExpr()
473 TemplateKWLoc); in DependentScopeDeclRefExpr()
1378 (TemplateArgs != nullptr) || TemplateKWLoc.isValid(); in CXXDependentScopeMemberExpr()
1388 } else if (TemplateKWLoc.isValid()) { in CXXDependentScopeMemberExpr()
1390 TemplateKWLoc); in CXXDependentScopeMemberExpr()
[all …]
H A DTemplateBase.cpp654 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument
656 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
665 void ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument
666 assert(TemplateKWLoc.isValid()); in initializeFrom()
669 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
674 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument
676 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
H A DExprConcepts.cpp35 SourceLocation TemplateKWLoc, DeclarationNameInfo ConceptNameInfo, in ConceptSpecializationExpr() argument
41 ConceptReference(NNS, TemplateKWLoc, ConceptNameInfo, FoundDecl, in ConceptSpecializationExpr()
74 SourceLocation TemplateKWLoc, in Create() argument
83 return new (Buffer) ConceptSpecializationExpr(C, NNS, TemplateKWLoc, in Create()
H A DExpr.cpp418 SourceLocation TemplateKWLoc, ValueDecl *D, in DeclRefExpr() argument
434 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr()
445 } else if (TemplateKWLoc.isValid()) { in DeclRefExpr()
447 TemplateKWLoc); in DeclRefExpr()
461 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
489 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
1633 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in Create() argument
1669 TemplateArgs || TemplateKWLoc.isValid(); in Create()
1674 TemplateKWLoc, *TemplateArgs, in Create()
1678 } else if (TemplateKWLoc.isValid()) { in Create()
[all …]
H A DNestedNameSpecifier.cpp564 SourceLocation TemplateKWLoc, in Extend() argument
568 TemplateKWLoc.isValid(), in Extend()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExprCXX.cpp278 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
595 SourceLocation TemplateKWLoc; in tryParseCXXIdExpression()
2801 if (TemplateKWLoc) in ParseUnqualifiedId()
2802 *TemplateKWLoc = SourceLocation(); in ParseUnqualifiedId()
2808 if (TemplateKWLoc && (ObjectType || SS.isSet())) { in ParseUnqualifiedId()
2810 *TemplateKWLoc = ConsumeToken(); in ParseUnqualifiedId()
2858 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), Id, IdLoc, in ParseUnqualifiedId()
2916 if (TemplateKWLoc && (ObjectType || SS.isSet())) in ParseUnqualifiedId()
2917 *TemplateKWLoc = TemplateLoc; in ParseUnqualifiedId()
2944 TemplateKWLoc ? *TemplateKWLoc : SourceLocation(), nullptr, in ParseUnqualifiedId()
[all …]
H A DParseTemplate.cpp1323 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument
1361 getCurScope(), SS, TemplateKWLoc, Template, in AnnotateTemplateIdToken()
1369 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1370 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1389 TemplateKWLoc, TemplateNameLoc, TemplateII, OpKind, Template, TNK, in AnnotateTemplateIdToken()
1393 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1394 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1436 getCurScope(), SS, TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType()
1487 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local
1502 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 DParseExpr.cpp1238 SourceLocation TemplateKWLoc; in ParseCastExpression() local
1253 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression()
2200 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local
2220 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Name)) { in ParsePostfixExpressionSuffix()
2227 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
H A DParser.cpp1982 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
2259 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local
2264 /*AllowDeductionGuide*/ false, &TemplateKWLoc, in ParseMicrosoftIfExistsCondition()

12