/external/clang/lib/AST/ |
D | ExprCXX.cpp | 289 SourceLocation TemplateKWLoc, in Create() argument 296 assert(Args || TemplateKWLoc.isValid()); in Create() 301 TemplateKWLoc, NameInfo, in Create() 322 SourceLocation TemplateKWLoc, in OverloadExpr() argument 344 TemplateKWLoc.isValid()) { in OverloadExpr() 370 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in OverloadExpr() 383 } else if (TemplateKWLoc.isValid()) { in OverloadExpr() 384 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc); in OverloadExpr() 415 SourceLocation TemplateKWLoc, in DependentScopeDeclRefExpr() argument 428 HasTemplateKWAndArgsInfo(Args != nullptr || TemplateKWLoc.isValid()) in DependentScopeDeclRefExpr() [all …]
|
D | TemplateBase.cpp | 581 ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc, in initializeFrom() argument 584 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom() 589 ::initializeFrom(SourceLocation TemplateKWLoc, in initializeFrom() argument 596 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom() 600 ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument 602 assert(TemplateKWLoc.isValid()); in initializeFrom() 606 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
|
D | Expr.cpp | 324 SourceLocation TemplateKWLoc, in DeclRefExpr() argument 345 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr() 352 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in DeclRefExpr() 359 } else if (TemplateKWLoc.isValid()) { in DeclRefExpr() 360 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc); in DeclRefExpr() 369 SourceLocation TemplateKWLoc, in Create() argument 377 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create() 385 SourceLocation TemplateKWLoc, in Create() argument 404 else if (TemplateKWLoc.isValid()) in Create() 408 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create() [all …]
|
D | NestedNameSpecifier.cpp | 534 SourceLocation TemplateKWLoc, in Extend() argument 538 TemplateKWLoc.isValid(), in Extend()
|
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 238 SourceLocation TemplateKWLoc, in BuildPossibleImplicitMemberExpr() argument 243 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true); in BuildPossibleImplicitMemberExpr() 248 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false); in BuildPossibleImplicitMemberExpr() 258 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr() 259 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs); in BuildPossibleImplicitMemberExpr() 447 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument 479 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope, in ActOnDependentMemberExpr() 695 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument 704 SS, TemplateKWLoc, FirstQualifierInScope, in BuildMemberReferenceExpr() 744 OpLoc, IsArrow, SS, TemplateKWLoc, in BuildMemberReferenceExpr() [all …]
|
D | SemaTemplate.cpp | 409 SourceLocation TemplateKWLoc, in ActOnDependentIdExpression() argument 426 /*Op*/ SourceLocation(), SS.getWithLocInContext(Context), TemplateKWLoc, in ActOnDependentIdExpression() 430 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression() 435 SourceLocation TemplateKWLoc, in BuildDependentDeclRefExpr() argument 439 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo, in BuildDependentDeclRefExpr() 2173 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType() argument 2200 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType() 2218 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType() 2243 SourceLocation TemplateKWLoc, in ActOnTagTemplateIdType() argument 2272 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType() [all …]
|
D | SemaCXXScopeSpec.cpp | 857 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument 888 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier() 895 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier() 932 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier() 940 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
|
D | TreeTransform.h | 1849 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument 1892 SS, TemplateKWLoc, in RebuildMemberExpr() 2395 SourceLocation TemplateKWLoc, in RebuildDependentScopeDeclRefExpr() argument 2403 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr() 2404 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc, NameInfo, in RebuildDependentScopeDeclRefExpr() 2416 SourceLocation TemplateKWLoc, in RebuildTemplateIdExpr() argument 2420 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL, in RebuildTemplateIdExpr() 2490 SourceLocation TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr() argument 2499 SS, TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr() 2513 SourceLocation TemplateKWLoc, in RebuildUnresolvedMemberExpr() argument [all …]
|
D | SemaStmtAsm.cpp | 498 SourceLocation TemplateKWLoc, in LookupInlineAsmIdentifier() argument 508 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier()
|
D | DeclSpec.cpp | 57 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend() argument 59 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc); in Extend()
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 624 void setTemplateKeywordLoc(SourceLocation TemplateKWLoc) { in setTemplateKeywordLoc() 626 (getTemplateArgs() + NumTemplateArgs) = TemplateKWLoc; in setTemplateKeywordLoc() 630 Create(ASTContext &C, SourceLocation TemplateKWLoc, 633 void initializeFrom(SourceLocation TemplateKWLoc, 635 void initializeFrom(SourceLocation TemplateKWLoc, 639 void initializeFrom(SourceLocation TemplateKWLoc);
|
D | TypeLoc.h | 1355 SourceLocation TemplateKWLoc; member 1367 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc() 1370 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc() 1746 SourceLocation TemplateKWLoc; member 1790 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc() 1793 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
|
D | ExprCXX.h | 2331 SourceLocation TemplateKWLoc, 2517 SourceLocation TemplateKWLoc, in UnresolvedLookupExpr() argument 2522 : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc, in UnresolvedLookupExpr() 2551 SourceLocation TemplateKWLoc, 2631 SourceLocation TemplateKWLoc, 2638 SourceLocation TemplateKWLoc, 3004 SourceLocation TemplateKWLoc, 3020 SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, 3231 SourceLocation TemplateKWLoc, 3248 SourceLocation TemplateKWLoc,
|
D | NestedNameSpecifier.h | 388 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 315 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local 359 SS, TemplateKWLoc, TemplateName, in ParseOptionalCXXScopeSpecifier() 362 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc, in ParseOptionalCXXScopeSpecifier() 401 TemplateId->TemplateKWLoc, in ParseOptionalCXXScopeSpecifier() 594 SourceLocation TemplateKWLoc; in tryParseCXXIdExpression() local 600 /*ObjectType=*/ParsedType(), TemplateKWLoc, Name)) in tryParseCXXIdExpression() 608 return Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name, in tryParseCXXIdExpression() 1939 SourceLocation TemplateKWLoc, in ParseUnqualifiedIdTemplateId() argument 1956 TNK = Actions.ActOnDependentTemplateName(getCurScope(), SS, TemplateKWLoc, in ParseUnqualifiedIdTemplateId() 1964 TemplateKWLoc.isValid(), Id, in ParseUnqualifiedIdTemplateId() [all …]
|
D | ParseTemplate.cpp | 930 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument 961 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc, in AnnotateTemplateIdToken() 975 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken() 976 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken() 994 TemplateId->TemplateKWLoc = TemplateKWLoc; in AnnotateTemplateIdToken() 1003 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken() 1004 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken() 1037 TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType() 1087 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local 1103 SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument()
|
D | ParseOpenMP.cpp | 301 SourceLocation TemplateKWLoc; in ParseOpenMPSimpleVarList() local 313 TemplateKWLoc, Name)) { in ParseOpenMPSimpleVarList() 607 SourceLocation TemplateKWLoc; in ParseReductionId() local 648 TemplateKWLoc, ReductionId); in ParseReductionId()
|
D | ParseStmtAsm.cpp | 216 SourceLocation TemplateKWLoc; in ParseMSAsmIdentifier() local 223 /*ObjectType=*/ParsedType(), TemplateKWLoc, Id); in ParseMSAsmIdentifier() 258 return Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, Info, in ParseMSAsmIdentifier()
|
D | ParseExpr.cpp | 921 SourceLocation TemplateKWLoc; in ParseCastExpression() local 929 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression() 1545 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local 1564 ObjectType, TemplateKWLoc, Name)) { in ParsePostfixExpressionSuffix() 1571 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
|
D | Parser.cpp | 1546 TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken() 1801 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local 1803 TemplateKWLoc, Result.Name)) { in ParseMicrosoftIfExistsCondition()
|
D | ParseDeclCXX.cpp | 525 SourceLocation TemplateKWLoc; in ParseUsingDeclaration() local 549 TemplateKWLoc, Name)) { in ParseUsingDeclaration() 1591 TemplateId->TemplateKWLoc, in ParseClassSpecifier() 2248 SourceLocation TemplateKWLoc; in ParseCXXClassMemberDeclaration() local 2251 TemplateKWLoc, Name)) { in ParseCXXClassMemberDeclaration()
|
/external/clang/include/clang/Sema/ |
D | ParsedTemplate.h | 147 SourceLocation TemplateKWLoc; member
|
D | Sema.h | 3180 SourceLocation TemplateKWLoc, 3438 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, 3459 SourceLocation TemplateKWLoc, 3484 SourceLocation TemplateKWLoc, 3488 SourceLocation TemplateKWLoc, 3501 SourceLocation TemplateKWLoc, 3609 CXXScopeSpec &SS, SourceLocation TemplateKWLoc, 3617 SourceLocation TemplateKWLoc, 3632 SourceLocation TemplateKWLoc, 3641 SourceLocation TemplateKWLoc, [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 2321 SourceLocation TemplateKWLoc, 2393 SourceLocation& TemplateKWLoc, 2448 SourceLocation TemplateKWLoc,
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 111 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); in ReadTemplateKWAndArgsInfo() local 118 Args.initializeFrom(TemplateKWLoc, ArgInfo); in ReadTemplateKWAndArgsInfo() 2468 SourceLocation TemplateKWLoc; in ReadStmtFromStream() local 2472 TemplateKWLoc = ReadSourceLocation(F, Record, Idx); in ReadStmtFromStream() 2497 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo, in ReadStmtFromStream()
|