Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp304 const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, in BuildPossibleImplicitMemberExpr() argument
312 SS, TemplateKWLoc, R, TemplateArgs, in BuildPossibleImplicitMemberExpr()
322 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr()
323 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, /*RequiresADL=*/false, in BuildPossibleImplicitMemberExpr()
331 TemplateKWLoc, R.getLookupNameInfo(), /*RequiresADL=*/false, in BuildPossibleImplicitMemberExpr()
560 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument
595 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope, in ActOnDependentMemberExpr()
657 SourceLocation TemplateKWLoc) { in LookupMemberExprInRecord() argument
668 if (HasTemplateArgs || TemplateKWLoc.isValid()) in LookupMemberExprInRecord()
671 /*EnteringContext=*/false, TemplateKWLoc); in LookupMemberExprInRecord()
[all …]
H A DSemaTemplate.cpp727 SourceLocation TemplateKWLoc, in ActOnDependentIdExpression() argument
744 /*QualifierLoc=*/NestedNameSpecifierLoc(), TemplateKWLoc, in ActOnDependentIdExpression()
747 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression()
752 SourceLocation TemplateKWLoc, in BuildDependentDeclRefExpr() argument
762 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo, in BuildDependentDeclRefExpr()
3841 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType() argument
3874 return ActOnTypenameType(nullptr, SourceLocation(), SS, TemplateKWLoc, in ActOnTemplateIdType()
3886 TemplateKWLoc.isInvalid() in ActOnTemplateIdType()
3913 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
3930 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
[all …]
H A DSemaCXXScopeSpec.cpp840 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument
865 TemplateKWLoc.isValid()}, in ActOnCXXNestedNameSpecifier()
874 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
922 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
H A DTreeTransform.h1137 SourceLocation TemplateKWLoc, TemplateName Name, SourceLocation NameLoc, in RebuildDependentTemplateSpecializationType() argument
1299 SourceLocation TemplateKWLoc,
1313 SourceLocation TemplateKWLoc,
1319 SourceLocation TemplateKWLoc,
2888 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument
2962 SS, TemplateKWLoc, in RebuildMemberExpr()
3523 SourceLocation TemplateKWLoc, in RebuildDependentScopeDeclRefExpr() argument
3531 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr()
3533 SS, TemplateKWLoc, NameInfo, TemplateArgs, IsAddressOfOperand); in RebuildDependentScopeDeclRefExpr()
3544 SourceLocation TemplateKWLoc, in RebuildTemplateIdExpr() argument
[all …]
H A DSemaStmtAsm.cpp817 SourceLocation TemplateKWLoc, in LookupInlineAsmIdentifier() argument
826 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier()
H A DSemaExpr.cpp1084 SourceLocation TemplateKWLoc; in DefaultVariadicArgumentPromotion() local
1088 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, Name, in DefaultVariadicArgumentPromotion()
2304 SourceLocation TemplateKWLoc, in BuildDeclRefExpr() argument
2308 return BuildDeclRefExpr(D, Ty, VK, NameInfo, NNS, FoundD, TemplateKWLoc, in BuildDeclRefExpr()
2373 SourceLocation TemplateKWLoc, in BuildDeclRefExpr() argument
2379 Context, NNS, TemplateKWLoc, D, RefersToCapturedVariable, NameInfo, Ty, in BuildDeclRefExpr()
2680 SourceLocation TemplateKWLoc, in recoverFromMSUnqualifiedLookup() argument
2703 /*Op=*/SourceLocation(), NestedNameSpecifierLoc(), TemplateKWLoc, in recoverFromMSUnqualifiedLookup()
2714 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo, in recoverFromMSUnqualifiedLookup()
2720 SourceLocation TemplateKWLoc, UnqualifiedId &Id, in ActOnIdExpression() argument
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h156 SourceLocation TemplateKWLoc; member
198 Create(SourceLocation TemplateKWLoc, SourceLocation TemplateNameLoc, in Create()
206 TemplateIdAnnotation(TemplateKWLoc, TemplateNameLoc, Name, in Create()
237 TemplateIdAnnotation(SourceLocation TemplateKWLoc, in TemplateIdAnnotation()
246 : TemplateKWLoc(TemplateKWLoc), TemplateNameLoc(TemplateNameLoc), in TemplateIdAnnotation()
H A DSema.h3378 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
7120 SourceLocation TemplateKWLoc, UnqualifiedId &Id,
7172 SourceLocation TemplateKWLoc = SourceLocation(),
7181 SourceLocation TemplateKWLoc = SourceLocation(),
8834 const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R,
8842 BuildImplicitMemberExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
8849 const CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
8865 SourceLocation TemplateKWLoc,
8870 NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc,
8906 CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTConcept.h131 SourceLocation TemplateKWLoc; variable
149 ConceptReference(NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, in ConceptReference() argument
153 : NestedNameSpec(NNS), TemplateKWLoc(TemplateKWLoc), in ConceptReference()
160 SourceLocation TemplateKWLoc, DeclarationNameInfo ConceptNameInfo,
174 SourceLocation getTemplateKWLoc() const { return TemplateKWLoc; } in getTemplateKWLoc()
H A DTemplateBase.h745 SourceLocation TemplateKWLoc;
750 void initializeFrom(SourceLocation TemplateKWLoc,
756 void initializeFrom(SourceLocation TemplateKWLoc,
760 void initializeFrom(SourceLocation TemplateKWLoc);
H A DTypeLoc.h1704 SourceLocation TemplateKWLoc; member
1716 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1720 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
2500 SourceLocation TemplateKWLoc; member
2546 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
2550 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
H A DExprCXX.h3121 SourceLocation TemplateKWLoc,
3237 return getTrailingASTTemplateKWAndArgsInfo()->TemplateKWLoc; in getTemplateKeywordLoc()
3354 SourceLocation TemplateKWLoc,
3384 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
3461 SourceLocation TemplateKWLoc,
3476 SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo,
3509 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3867 SourceLocation TemplateKWLoc,
3879 SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope,
3957 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
[all …]
H A DExpr.h1297 SourceLocation TemplateKWLoc, ValueDecl *D,
1315 SourceLocation TemplateKWLoc, ValueDecl *D,
1323 SourceLocation TemplateKWLoc, ValueDecl *D,
1398 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3325 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc,
3337 SourceLocation TemplateKWLoc, ValueDecl *MemberDecl,
3405 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp402 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in UnresolvedLookupExpr() argument
408 TemplateKWLoc, NameInfo, TemplateArgs, Begin, End, in UnresolvedLookupExpr()
438 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, in Create() argument
444 bool HasTemplateKWAndArgsInfo = Args || TemplateKWLoc.isValid(); in Create()
451 Context, NamingClass, QualifierLoc, TemplateKWLoc, NameInfo, RequiresADL, in Create()
469 SourceLocation TemplateKWLoc, in OverloadExpr() argument
481 (TemplateArgs != nullptr ) || TemplateKWLoc.isValid(); in OverloadExpr()
493 TemplateKWLoc, *TemplateArgs, getTrailingTemplateArgumentLoc(), Deps); in OverloadExpr()
494 } else if (TemplateKWLoc.isValid()) { in OverloadExpr()
495 getTrailingASTTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc); in OverloadExpr()
[all …]
H A DTemplateBase.cpp746 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument
748 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
757 void ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument
758 assert(TemplateKWLoc.isValid()); in initializeFrom()
761 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
766 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument
768 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
H A DASTConcept.cpp87 SourceLocation TemplateKWLoc, in Create() argument
91 return new (C) ConceptReference(NNS, TemplateKWLoc, ConceptNameInfo, in Create()
H A DExpr.cpp450 SourceLocation TemplateKWLoc, ValueDecl *D, in DeclRefExpr() argument
466 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr()
474 TemplateKWLoc, *TemplateArgs, getTrailingObjects<TemplateArgumentLoc>(), in DeclRefExpr()
478 } else if (TemplateKWLoc.isValid()) { in DeclRefExpr()
480 TemplateKWLoc); in DeclRefExpr()
489 SourceLocation TemplateKWLoc, ValueDecl *D, in Create() argument
495 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
503 SourceLocation TemplateKWLoc, ValueDecl *D, in Create() argument
514 bool HasTemplateKWAndArgsInfo = TemplateArgs || TemplateKWLoc.isValid(); in Create()
523 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp274 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
317 getCurScope(), SS, TemplateKWLoc, TemplateName, ObjectType, in ParseOptionalCXXScopeSpecifier()
319 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc, in ParseOptionalCXXScopeSpecifier()
357 TemplateId->TemplateKWLoc, in ParseOptionalCXXScopeSpecifier()
604 SourceLocation TemplateKWLoc; in tryParseCXXIdExpression()
611 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Name)) in tryParseCXXIdExpression()
620 getCurScope(), SS, TemplateKWLoc, Name, Tok.is(tok::l_paren), in tryParseCXXIdExpression()
2218 SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, in ParseUnqualifiedIdTemplateId() argument
2231 TNK = Actions.ActOnTemplateName(getCurScope(), SS, TemplateKWLoc, Id, in ParseUnqualifiedIdTemplateId()
2237 TemplateKWLoc.isValid(), Id, in ParseUnqualifiedIdTemplateId()
[all …]
H A DParseTemplate.cpp1077 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument
1115 getCurScope(), SS, TemplateKWLoc, Template, in AnnotateTemplateIdToken()
1123 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1124 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1143 TemplateKWLoc, TemplateNameLoc, TemplateII, OpKind, Template, TNK, in AnnotateTemplateIdToken()
1147 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1148 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1178 getCurScope(), SS, TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType()
1228 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local
1243 Actions.ActOnTemplateName(getCurScope(), SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument()
H A DParseStmtAsm.cpp226 SourceLocation TemplateKWLoc; in ParseMSAsmIdentifier() local
240 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Id); in ParseMSAsmIdentifier()
242 Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, in ParseMSAsmIdentifier()
H A DParseExpr.cpp1004 SourceLocation TemplateKWLoc; in ParseCastExpression() local
1016 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression()
1992 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local
2012 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Name)) { in ParsePostfixExpressionSuffix()
2018 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
H A DParser.cpp1986 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
2266 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local
2271 /*AllowDeductionGuide*/ false, &TemplateKWLoc, in ParseMicrosoftIfExistsCondition()
H A DParseOpenACC.cpp1376 SourceLocation TemplateKWLoc; in ParseOpenACCIDExpression() local
1382 Res = Actions.ActOnIdExpression(getCurScope(), ScopeSpec, TemplateKWLoc, in ParseOpenACCIDExpression()
H A DParseDeclCXX.cpp2019 TUK, TagType, StartLoc, SS, TemplateId->TemplateKWLoc, in ParseClassSpecifier()
2747 SourceLocation TemplateKWLoc; in ParseCXXClassMemberDeclaration() local
2751 false, &TemplateKWLoc, Name)) { in ParseCXXClassMemberDeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h4437 SourceLocation *TemplateKWLoc, UnqualifiedId &Result);
5067 SourceLocation TemplateKWLoc,
8241 CXXScopeSpec &SS, SourceLocation TemplateKWLoc,

12