Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DExprCXX.cpp216 SourceLocation TemplateKWLoc, in Create() argument
223 assert(Args || TemplateKWLoc.isValid()); in Create()
231 TemplateKWLoc, NameInfo, in Create()
252 SourceLocation TemplateKWLoc, in OverloadExpr() argument
274 TemplateKWLoc.isValid()) { in OverloadExpr()
301 TemplateKWLoc, *TemplateArgs, getTrailingTemplateArgumentLoc(), in OverloadExpr()
312 } else if (TemplateKWLoc.isValid()) { in OverloadExpr()
313 getTrailingASTTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc); in OverloadExpr()
344 SourceLocation TemplateKWLoc, in DependentScopeDeclRefExpr() argument
357 HasTemplateKWAndArgsInfo(Args != nullptr || TemplateKWLoc.isValid()) in DependentScopeDeclRefExpr()
[all …]
DTemplateBase.cpp549 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument
551 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
560 void ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument
561 assert(TemplateKWLoc.isValid()); in initializeFrom()
564 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
569 SourceLocation TemplateKWLoc, const TemplateArgumentListInfo &Info, in initializeFrom() argument
572 this->TemplateKWLoc = TemplateKWLoc; in initializeFrom()
DExpr.cpp324 SourceLocation TemplateKWLoc, in DeclRefExpr() argument
346 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr()
354 TemplateKWLoc, *TemplateArgs, getTrailingObjects<TemplateArgumentLoc>(), in DeclRefExpr()
359 } else if (TemplateKWLoc.isValid()) { in DeclRefExpr()
361 TemplateKWLoc); in DeclRefExpr()
370 SourceLocation TemplateKWLoc, in Create() argument
378 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
386 SourceLocation TemplateKWLoc, in Create() argument
398 bool HasTemplateKWAndArgsInfo = TemplateArgs || TemplateKWLoc.isValid(); in Create()
407 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
[all …]
DNestedNameSpecifier.cpp550 SourceLocation TemplateKWLoc, in Extend() argument
554 TemplateKWLoc.isValid(), in Extend()
/external/clang/lib/Sema/
DSemaExprMember.cpp236 SourceLocation TemplateKWLoc, in BuildPossibleImplicitMemberExpr() argument
242 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true, S); in BuildPossibleImplicitMemberExpr()
247 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()
460 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument
492 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope, in ActOnDependentMemberExpr()
719 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument
729 SS, TemplateKWLoc, FirstQualifierInScope, in BuildMemberReferenceExpr()
769 OpLoc, IsArrow, SS, TemplateKWLoc, in BuildMemberReferenceExpr()
[all …]
DSemaTemplate.cpp412 SourceLocation TemplateKWLoc, in ActOnDependentIdExpression() argument
442 /*Op*/ SourceLocation(), SS.getWithLocInContext(Context), TemplateKWLoc, in ActOnDependentIdExpression()
446 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression()
451 SourceLocation TemplateKWLoc, in BuildDependentDeclRefExpr() argument
455 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo, in BuildDependentDeclRefExpr()
2278 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType() argument
2305 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
2323 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
2348 SourceLocation TemplateKWLoc, in ActOnTagTemplateIdType() argument
2377 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType()
[all …]
DSemaCXXScopeSpec.cpp890 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument
921 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
928 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
965 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
973 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
DTreeTransform.h2111 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument
2154 SS, TemplateKWLoc, in RebuildMemberExpr()
2659 SourceLocation TemplateKWLoc, in RebuildDependentScopeDeclRefExpr() argument
2667 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr()
2668 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc, NameInfo, in RebuildDependentScopeDeclRefExpr()
2680 SourceLocation TemplateKWLoc, in RebuildTemplateIdExpr() argument
2684 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL, in RebuildTemplateIdExpr()
2765 SourceLocation TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr() argument
2774 SS, TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr()
2788 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/lib/Parse/
DParseTemplate.cpp971 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument
1002 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc, in AnnotateTemplateIdToken()
1016 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1017 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1035 TemplateId->TemplateKWLoc = TemplateKWLoc; in AnnotateTemplateIdToken()
1044 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
1045 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
1078 TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType()
1127 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local
1143 getCurScope(), SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument()
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=*/nullptr, TemplateKWLoc, Name)) in tryParseCXXIdExpression()
608 return Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name, in tryParseCXXIdExpression()
2026 SourceLocation TemplateKWLoc, in ParseUnqualifiedIdTemplateId() argument
2043 TNK = Actions.ActOnDependentTemplateName(getCurScope(), SS, TemplateKWLoc, in ParseUnqualifiedIdTemplateId()
2051 TemplateKWLoc.isValid(), Id, in ParseUnqualifiedIdTemplateId()
[all …]
DParseStmtAsm.cpp215 SourceLocation TemplateKWLoc; in ParseMSAsmIdentifier() local
227 /*ObjectType=*/nullptr, TemplateKWLoc, Id); in ParseMSAsmIdentifier()
229 Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, Info, in ParseMSAsmIdentifier()
DParseOpenMP.cpp1007 SourceLocation TemplateKWLoc; in ParseOpenMPSimpleVarList() local
1019 TemplateKWLoc, Name)) { in ParseOpenMPSimpleVarList()
1478 SourceLocation TemplateKWLoc; in ParseReductionId() local
1519 TemplateKWLoc, ReductionId); in ParseReductionId()
DParseExpr.cpp961 SourceLocation TemplateKWLoc; in ParseCastExpression() local
974 getCurScope(), ScopeSpec, TemplateKWLoc, Name, Tok.is(tok::l_paren), in ParseCastExpression()
1667 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local
1686 ObjectType, TemplateKWLoc, Name)) { in ParsePostfixExpressionSuffix()
1693 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
DParser.cpp1658 TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
1929 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local
1930 if (ParseUnqualifiedId(Result.SS, false, true, true, nullptr, TemplateKWLoc, in ParseMicrosoftIfExistsCondition()
DParseDeclCXX.cpp531 SourceLocation TemplateKWLoc; in ParseUsingDeclaration() local
557 nullptr, TemplateKWLoc, Name)) { in ParseUsingDeclaration()
1640 TemplateId->TemplateKWLoc, in ParseClassSpecifier()
2309 SourceLocation TemplateKWLoc; in ParseCXXClassMemberDeclaration() local
2311 if (ParseUnqualifiedId(SS, false, true, true, nullptr, TemplateKWLoc, in ParseCXXClassMemberDeclaration()
/external/clang/include/clang/AST/
DTemplateBase.h621 SourceLocation TemplateKWLoc; in LLVM_ALIGNAS() local
626 void initializeFrom(SourceLocation TemplateKWLoc, in LLVM_ALIGNAS()
629 void initializeFrom(SourceLocation TemplateKWLoc, in LLVM_ALIGNAS()
634 void initializeFrom(SourceLocation TemplateKWLoc); in LLVM_ALIGNAS()
DExprCXX.h2517 SourceLocation TemplateKWLoc,
2605 return getTrailingASTTemplateKWAndArgsInfo()->TemplateKWLoc; in getTemplateKeywordLoc()
2698 SourceLocation TemplateKWLoc, in UnresolvedLookupExpr() argument
2703 : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc, in UnresolvedLookupExpr()
2734 SourceLocation TemplateKWLoc,
2813 SourceLocation TemplateKWLoc,
2820 SourceLocation TemplateKWLoc,
2853 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
3178 SourceLocation TemplateKWLoc,
3194 SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope,
[all …]
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()
DNestedNameSpecifier.h389 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
DExpr.h965 SourceLocation TemplateKWLoc,
997 SourceLocation TemplateKWLoc, ValueDecl *D,
1004 SourceLocation TemplateKWLoc, ValueDecl *D,
1072 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
2398 SourceLocation TemplateKWLoc, ValueDecl *memberdecl,
2448 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
/external/clang/include/clang/Sema/
DParsedTemplate.h154 SourceLocation TemplateKWLoc; member
DSema.h3497 SourceLocation TemplateKWLoc,
3770 Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
3791 SourceLocation TemplateKWLoc,
3816 SourceLocation TemplateKWLoc,
3821 SourceLocation TemplateKWLoc,
3837 SourceLocation TemplateKWLoc,
3948 CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
3957 SourceLocation TemplateKWLoc,
3973 SourceLocation TemplateKWLoc,
3982 SourceLocation TemplateKWLoc,
[all …]
/external/clang/include/clang/Parse/
DParser.h2465 SourceLocation TemplateKWLoc,
2576 SourceLocation& TemplateKWLoc,
2632 SourceLocation TemplateKWLoc,

12