Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DExprCXX.cpp289 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 …]
DTemplateBase.cpp579 ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc, in initializeFrom() argument
582 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
587 ::initializeFrom(SourceLocation TemplateKWLoc, in initializeFrom() argument
594 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
598 ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument
600 assert(TemplateKWLoc.isValid()); in initializeFrom()
604 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
DExpr.cpp324 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
406 } else if (TemplateKWLoc.isValid()) { in Create()
413 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
[all …]
DNestedNameSpecifier.cpp536 SourceLocation TemplateKWLoc, in Extend() argument
540 TemplateKWLoc.isValid(), in Extend()
/external/clang/lib/Sema/
DSemaExprMember.cpp235 SourceLocation TemplateKWLoc, in BuildPossibleImplicitMemberExpr() argument
241 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true, S); in BuildPossibleImplicitMemberExpr()
246 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false, in BuildPossibleImplicitMemberExpr()
257 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr()
258 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs); in BuildPossibleImplicitMemberExpr()
446 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument
478 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope, in ActOnDependentMemberExpr()
705 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument
715 SS, TemplateKWLoc, FirstQualifierInScope, in BuildMemberReferenceExpr()
755 OpLoc, IsArrow, SS, TemplateKWLoc, in BuildMemberReferenceExpr()
[all …]
DSemaTemplate.cpp410 SourceLocation TemplateKWLoc, in ActOnDependentIdExpression() argument
427 /*Op*/ SourceLocation(), SS.getWithLocInContext(Context), TemplateKWLoc, in ActOnDependentIdExpression()
431 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression()
436 SourceLocation TemplateKWLoc, in BuildDependentDeclRefExpr() argument
440 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo, in BuildDependentDeclRefExpr()
2240 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType() argument
2267 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
2285 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
2310 SourceLocation TemplateKWLoc, in ActOnTagTemplateIdType() argument
2339 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType()
[all …]
DSemaCXXScopeSpec.cpp860 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument
891 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
898 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
935 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
943 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
DTreeTransform.h2038 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument
2081 SS, TemplateKWLoc, in RebuildMemberExpr()
2586 SourceLocation TemplateKWLoc, in RebuildDependentScopeDeclRefExpr() argument
2594 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr()
2595 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc, NameInfo, in RebuildDependentScopeDeclRefExpr()
2607 SourceLocation TemplateKWLoc, in RebuildTemplateIdExpr() argument
2611 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL, in RebuildTemplateIdExpr()
2681 SourceLocation TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr() argument
2690 SS, TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr()
2704 SourceLocation TemplateKWLoc, in RebuildUnresolvedMemberExpr() argument
[all …]
DSemaStmtAsm.cpp562 SourceLocation TemplateKWLoc, in LookupInlineAsmIdentifier() argument
572 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, in LookupInlineAsmIdentifier()
DDeclSpec.cpp47 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend() argument
49 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc); in Extend()
/external/clang/include/clang/AST/
DTemplateBase.h625 void setTemplateKeywordLoc(SourceLocation TemplateKWLoc) { in setTemplateKeywordLoc()
627 (getTemplateArgs() + NumTemplateArgs) = TemplateKWLoc; in setTemplateKeywordLoc()
631 Create(ASTContext &C, SourceLocation TemplateKWLoc,
634 void initializeFrom(SourceLocation TemplateKWLoc,
636 void initializeFrom(SourceLocation TemplateKWLoc,
640 void initializeFrom(SourceLocation TemplateKWLoc);
DTypeLoc.h1437 SourceLocation TemplateKWLoc; member
1449 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1452 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
1828 SourceLocation TemplateKWLoc; member
1872 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1875 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
DExprCXX.h2460 SourceLocation TemplateKWLoc,
2646 SourceLocation TemplateKWLoc, in UnresolvedLookupExpr() argument
2651 : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc, in UnresolvedLookupExpr()
2680 SourceLocation TemplateKWLoc,
2763 SourceLocation TemplateKWLoc,
2770 SourceLocation TemplateKWLoc,
3139 SourceLocation TemplateKWLoc,
3155 SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope,
3368 SourceLocation TemplateKWLoc,
3385 SourceLocation TemplateKWLoc,
DNestedNameSpecifier.h388 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
/external/clang/lib/Parse/
DParseExprCXX.cpp315 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()
1947 SourceLocation TemplateKWLoc, in ParseUnqualifiedIdTemplateId() argument
1964 TNK = Actions.ActOnDependentTemplateName(getCurScope(), SS, TemplateKWLoc, in ParseUnqualifiedIdTemplateId()
1972 TemplateKWLoc.isValid(), Id, in ParseUnqualifiedIdTemplateId()
[all …]
DParseTemplate.cpp951 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument
982 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc, in AnnotateTemplateIdToken()
996 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
997 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1015 TemplateId->TemplateKWLoc = TemplateKWLoc; in AnnotateTemplateIdToken()
1024 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1025 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1058 TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType()
1107 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local
1123 SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument()
DParseOpenMP.cpp359 SourceLocation TemplateKWLoc; in ParseOpenMPSimpleVarList() local
371 TemplateKWLoc, Name)) { in ParseOpenMPSimpleVarList()
742 SourceLocation TemplateKWLoc; in ParseReductionId() local
783 TemplateKWLoc, ReductionId); in ParseReductionId()
DParseStmtAsm.cpp216 SourceLocation TemplateKWLoc; in ParseMSAsmIdentifier() local
229 /*ObjectType=*/ParsedType(), TemplateKWLoc, Id); in ParseMSAsmIdentifier()
231 Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, Info, in ParseMSAsmIdentifier()
DParseExpr.cpp947 SourceLocation TemplateKWLoc; in ParseCastExpression() local
960 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression()
1619 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local
1638 ObjectType, TemplateKWLoc, Name)) { in ParsePostfixExpressionSuffix()
1645 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
DParser.cpp1632 TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
1907 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local
1909 TemplateKWLoc, Result.Name)) { in ParseMicrosoftIfExistsCondition()
DParseDeclCXX.cpp531 SourceLocation TemplateKWLoc; in ParseUsingDeclaration() local
557 ParsedType(), TemplateKWLoc, Name)) { in ParseUsingDeclaration()
1625 TemplateId->TemplateKWLoc, in ParseClassSpecifier()
2294 SourceLocation TemplateKWLoc; in ParseCXXClassMemberDeclaration() local
2297 TemplateKWLoc, Name)) { in ParseCXXClassMemberDeclaration()
/external/clang/include/clang/Sema/
DParsedTemplate.h147 SourceLocation TemplateKWLoc; member
DSema.h3412 SourceLocation TemplateKWLoc,
3679 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
3700 SourceLocation TemplateKWLoc,
3725 SourceLocation TemplateKWLoc,
3730 SourceLocation TemplateKWLoc,
3746 SourceLocation TemplateKWLoc,
3857 CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
3866 SourceLocation TemplateKWLoc,
3882 SourceLocation TemplateKWLoc,
3891 SourceLocation TemplateKWLoc,
[all …]
/external/clang/include/clang/Parse/
DParser.h2415 SourceLocation TemplateKWLoc,
2489 SourceLocation& TemplateKWLoc,
2545 SourceLocation TemplateKWLoc,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp111 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); in ReadTemplateKWAndArgsInfo() local
118 Args.initializeFrom(TemplateKWLoc, ArgInfo); in ReadTemplateKWAndArgsInfo()
2716 SourceLocation TemplateKWLoc; in ReadStmtFromStream() local
2720 TemplateKWLoc = ReadSourceLocation(F, Record, Idx); in ReadStmtFromStream()
2745 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo, in ReadStmtFromStream()

12