/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 306 const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, in BuildPossibleImplicitMemberExpr() argument 314 SS, TemplateKWLoc, R, TemplateArgs, in BuildPossibleImplicitMemberExpr() 324 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr() 325 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, /*RequiresADL=*/false, in BuildPossibleImplicitMemberExpr() 333 TemplateKWLoc, R.getLookupNameInfo(), /*RequiresADL=*/false, in BuildPossibleImplicitMemberExpr() 559 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument 594 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope, in ActOnDependentMemberExpr() 708 SourceLocation TemplateKWLoc, in LookupMemberExprInRecord() argument 720 if (HasTemplateArgs || TemplateKWLoc.isValid()) in LookupMemberExprInRecord() 723 /*EnteringContext=*/false, TemplateKWLoc); in LookupMemberExprInRecord() [all …]
|
H A D | SemaTemplate.cpp | 726 SourceLocation TemplateKWLoc, in ActOnDependentIdExpression() argument 743 /*QualifierLoc=*/NestedNameSpecifierLoc(), TemplateKWLoc, in ActOnDependentIdExpression() 746 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression() 751 SourceLocation TemplateKWLoc, in BuildDependentDeclRefExpr() argument 761 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo, in BuildDependentDeclRefExpr() 3554 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType() argument 3588 return ActOnTypenameType(nullptr, SourceLocation(), SS, TemplateKWLoc, in ActOnTemplateIdType() 3600 TemplateKWLoc.isInvalid() in ActOnTemplateIdType() 3628 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType() 3645 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType() [all …]
|
H A D | SemaCXXScopeSpec.cpp | 848 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument 880 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier() 887 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier() 929 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier() 937 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
|
H A D | TreeTransform.h | 1133 SourceLocation TemplateKWLoc, in RebuildDependentTemplateSpecializationType() argument 1143 SS, TemplateKWLoc, *Name, NameLoc, QualType(), nullptr, in RebuildDependentTemplateSpecializationType() 1312 SourceLocation TemplateKWLoc, 1326 SourceLocation TemplateKWLoc, 2855 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument 2929 SS, TemplateKWLoc, in RebuildMemberExpr() 3476 SourceLocation TemplateKWLoc, in RebuildDependentScopeDeclRefExpr() argument 3484 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr() 3486 SS, TemplateKWLoc, NameInfo, TemplateArgs, IsAddressOfOperand); in RebuildDependentScopeDeclRefExpr() 3497 SourceLocation TemplateKWLoc, in RebuildTemplateIdExpr() argument [all …]
|
H A D | SemaStmtAsm.cpp | 777 SourceLocation TemplateKWLoc, in LookupInlineAsmIdentifier() argument 786 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier()
|
H A D | DeclSpec.cpp | 54 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend() argument 56 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc); in Extend()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ParsedTemplate.h | 155 SourceLocation TemplateKWLoc; member 199 Create(SourceLocation TemplateKWLoc, SourceLocation TemplateNameLoc, in Create() 207 TemplateIdAnnotation(TemplateKWLoc, TemplateNameLoc, Name, in Create() 238 TemplateIdAnnotation(SourceLocation TemplateKWLoc, in TemplateIdAnnotation() 247 : TemplateKWLoc(TemplateKWLoc), TemplateNameLoc(TemplateNameLoc), in TemplateIdAnnotation()
|
H A D | Sema.h | 2926 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, 6701 SourceLocation TemplateKWLoc, UnqualifiedId &Id, 6754 SourceLocation TemplateKWLoc = SourceLocation(), 6763 SourceLocation TemplateKWLoc = SourceLocation(), 8559 const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, 8567 BuildImplicitMemberExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, 8574 const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, 8590 SourceLocation TemplateKWLoc, 8595 NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, 8631 CXXScopeSpec &SS, SourceLocation TemplateKWLoc, [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTConcept.h | 131 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 D | TemplateBase.h | 739 SourceLocation TemplateKWLoc; 744 void initializeFrom(SourceLocation TemplateKWLoc, 750 void initializeFrom(SourceLocation TemplateKWLoc, 754 void initializeFrom(SourceLocation TemplateKWLoc);
|
H A D | ExprCXX.h | 2995 SourceLocation TemplateKWLoc, 3111 return getTrailingASTTemplateKWAndArgsInfo()->TemplateKWLoc; in getTemplateKeywordLoc() 3228 SourceLocation TemplateKWLoc, 3258 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, 3335 SourceLocation TemplateKWLoc, 3350 SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, 3383 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc() 3745 SourceLocation TemplateKWLoc, 3757 SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, 3835 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc() [all …]
|
H A D | TypeLoc.h | 1648 SourceLocation TemplateKWLoc; member 1660 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc() 1664 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc() 2444 SourceLocation TemplateKWLoc; member 2489 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc() 2493 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
|
H A D | NestedNameSpecifier.h | 403 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
H A D | Expr.h | 1294 SourceLocation TemplateKWLoc, ValueDecl *D, 1312 SourceLocation TemplateKWLoc, ValueDecl *D, 1320 SourceLocation TemplateKWLoc, ValueDecl *D, 1389 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc() 3227 NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, 3239 SourceLocation TemplateKWLoc, ValueDecl *MemberDecl, 3307 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprCXX.cpp | 402 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 D | TemplateBase.cpp | 751 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument 753 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom() 762 void ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument 763 assert(TemplateKWLoc.isValid()); in initializeFrom() 766 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom() 771 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument 773 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
|
H A D | ASTConcept.cpp | 89 SourceLocation TemplateKWLoc, in Create() argument 93 return new (C) ConceptReference(NNS, TemplateKWLoc, ConceptNameInfo, in Create()
|
H A D | Expr.cpp | 451 SourceLocation TemplateKWLoc, ValueDecl *D, in DeclRefExpr() argument 467 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr() 475 TemplateKWLoc, *TemplateArgs, getTrailingObjects<TemplateArgumentLoc>(), in DeclRefExpr() 479 } else if (TemplateKWLoc.isValid()) { in DeclRefExpr() 481 TemplateKWLoc); in DeclRefExpr() 490 SourceLocation TemplateKWLoc, ValueDecl *D, in Create() argument 496 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create() 504 SourceLocation TemplateKWLoc, ValueDecl *D, in Create() argument 515 bool HasTemplateKWAndArgsInfo = TemplateArgs || TemplateKWLoc.isValid(); in Create() 524 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create() [all …]
|
H A D | NestedNameSpecifier.cpp | 564 SourceLocation TemplateKWLoc, in Extend() argument 568 TemplateKWLoc.isValid(), in Extend()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 312 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local 355 getCurScope(), SS, TemplateKWLoc, TemplateName, ObjectType, in ParseOptionalCXXScopeSpecifier() 357 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc, in ParseOptionalCXXScopeSpecifier() 395 TemplateId->TemplateKWLoc, in ParseOptionalCXXScopeSpecifier() 643 SourceLocation TemplateKWLoc; in tryParseCXXIdExpression() 650 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Name)) in tryParseCXXIdExpression() 659 getCurScope(), SS, TemplateKWLoc, Name, Tok.is(tok::l_paren), in tryParseCXXIdExpression() 2535 SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, in ParseUnqualifiedIdTemplateId() argument 2548 TNK = Actions.ActOnTemplateName(getCurScope(), SS, TemplateKWLoc, Id, in ParseUnqualifiedIdTemplateId() 2554 TemplateKWLoc.isValid(), Id, in ParseUnqualifiedIdTemplateId() [all …]
|
H A D | ParseTemplate.cpp | 1249 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument 1287 getCurScope(), SS, TemplateKWLoc, Template, in AnnotateTemplateIdToken() 1295 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken() 1296 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken() 1315 TemplateKWLoc, TemplateNameLoc, TemplateII, OpKind, Template, TNK, in AnnotateTemplateIdToken() 1319 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken() 1320 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken() 1365 getCurScope(), SS, TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType() 1416 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local 1431 Actions.ActOnTemplateName(getCurScope(), SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument()
|
H A D | ParseStmtAsm.cpp | 229 SourceLocation TemplateKWLoc; in ParseMSAsmIdentifier() local 243 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Id); in ParseMSAsmIdentifier() 245 Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, in ParseMSAsmIdentifier()
|
H A D | ParseExpr.cpp | 1329 SourceLocation TemplateKWLoc; in ParseCastExpression() local 1344 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression() 2342 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local 2362 /*AllowDeductionGuide=*/false, &TemplateKWLoc, Name)) { in ParsePostfixExpressionSuffix() 2369 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
|
H A D | ParseOpenACC.cpp | 1246 SourceLocation TemplateKWLoc; in ParseOpenACCIDExpression() local 1252 Res = Actions.ActOnIdExpression(getCurScope(), ScopeSpec, TemplateKWLoc, in ParseOpenACCIDExpression()
|
H A D | Parser.cpp | 2093 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken() 2375 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local 2380 /*AllowDeductionGuide*/ false, &TemplateKWLoc, in ParseMicrosoftIfExistsCondition()
|