Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DExprCXX.cpp231 SourceLocation TemplateKWLoc, in Create() argument
238 assert(Args || TemplateKWLoc.isValid()); in Create()
243 TemplateKWLoc, NameInfo, in Create()
264 SourceLocation TemplateKWLoc, in OverloadExpr() argument
285 HasTemplateKWAndArgsInfo(TemplateArgs != 0 || TemplateKWLoc.isValid()) in OverloadExpr()
313 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in OverloadExpr()
326 } else if (TemplateKWLoc.isValid()) { in OverloadExpr()
327 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc); in OverloadExpr()
359 SourceLocation TemplateKWLoc, in DependentScopeDeclRefExpr() argument
372 HasTemplateKWAndArgsInfo(Args != 0 || TemplateKWLoc.isValid()) in DependentScopeDeclRefExpr()
[all …]
DTemplateBase.cpp625 ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc, in initializeFrom() argument
628 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
633 ::initializeFrom(SourceLocation TemplateKWLoc, in initializeFrom() argument
640 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
644 ASTTemplateKWAndArgsInfo::initializeFrom(SourceLocation TemplateKWLoc) { in initializeFrom() argument
646 assert(TemplateKWLoc.isValid()); in initializeFrom()
650 setTemplateKeywordLoc(TemplateKWLoc); in initializeFrom()
DExpr.cpp351 SourceLocation TemplateKWLoc, in DeclRefExpr() argument
366 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0; in DeclRefExpr()
372 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs, in DeclRefExpr()
378 } else if (TemplateKWLoc.isValid()) { in DeclRefExpr()
379 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc); in DeclRefExpr()
388 SourceLocation TemplateKWLoc, in Create() argument
396 return Create(Context, QualifierLoc, TemplateKWLoc, D, in Create()
404 SourceLocation TemplateKWLoc, in Create() argument
423 else if (TemplateKWLoc.isValid()) in Create()
427 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
[all …]
DNestedNameSpecifier.cpp501 SourceLocation TemplateKWLoc, in Extend() argument
505 TemplateKWLoc.isValid(), in Extend()
/external/clang/lib/Sema/
DSemaExprMember.cpp218 SourceLocation TemplateKWLoc, in BuildPossibleImplicitMemberExpr() argument
223 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true); in BuildPossibleImplicitMemberExpr()
228 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false); in BuildPossibleImplicitMemberExpr()
237 if (TemplateArgs || TemplateKWLoc.isValid()) in BuildPossibleImplicitMemberExpr()
238 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs); in BuildPossibleImplicitMemberExpr()
432 SourceLocation TemplateKWLoc, in ActOnDependentMemberExpr() argument
465 TemplateKWLoc, in ActOnDependentMemberExpr()
631 SourceLocation TemplateKWLoc, in BuildMemberReferenceExpr() argument
639 SS, TemplateKWLoc, FirstQualifierInScope, in BuildMemberReferenceExpr()
677 OpLoc, IsArrow, SS, TemplateKWLoc, in BuildMemberReferenceExpr()
[all …]
DSemaCXXScopeSpec.cpp754 SourceLocation TemplateKWLoc, in ActOnCXXNestedNameSpecifier() argument
785 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
792 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
829 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnCXXNestedNameSpecifier()
837 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T), in ActOnCXXNestedNameSpecifier()
DSemaTemplate.cpp409 SourceLocation TemplateKWLoc, in ActOnDependentIdExpression() argument
429 TemplateKWLoc, in ActOnDependentIdExpression()
435 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs); in ActOnDependentIdExpression()
440 SourceLocation TemplateKWLoc, in BuildDependentDeclRefExpr() argument
445 TemplateKWLoc, in BuildDependentDeclRefExpr()
2117 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType() argument
2144 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
2162 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTemplateIdType()
2187 SourceLocation TemplateKWLoc, in ActOnTagTemplateIdType() argument
2216 SpecTL.setTemplateKeywordLoc(TemplateKWLoc); in ActOnTagTemplateIdType()
[all …]
DTreeTransform.h1517 SourceLocation TemplateKWLoc, in RebuildMemberExpr() argument
1562 SS, TemplateKWLoc, in RebuildMemberExpr()
2083 SourceLocation TemplateKWLoc, in RebuildDependentScopeDeclRefExpr() argument
2090 if (TemplateArgs || TemplateKWLoc.isValid()) in RebuildDependentScopeDeclRefExpr()
2091 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc, in RebuildDependentScopeDeclRefExpr()
2103 SourceLocation TemplateKWLoc, in RebuildTemplateIdExpr() argument
2107 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL, in RebuildTemplateIdExpr()
2175 SourceLocation TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr() argument
2184 SS, TemplateKWLoc, in RebuildCXXDependentScopeMemberExpr()
2198 SourceLocation TemplateKWLoc, in RebuildUnresolvedMemberExpr() argument
[all …]
DDeclSpec.cpp54 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend() argument
56 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc); in Extend()
DSemaExpr.cpp723 SourceLocation TemplateKWLoc; in DefaultVariadicArgumentPromotion() local
727 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, in DefaultVariadicArgumentPromotion()
1734 SourceLocation TemplateKWLoc, in ActOnIdExpression() argument
1781 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo, in ActOnIdExpression()
1800 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo, in ActOnIdExpression()
1809 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo, in ActOnIdExpression()
1849 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo, in ActOnIdExpression()
1916 return BuildPossibleImplicitMemberExpr(SS, TemplateKWLoc, in ActOnIdExpression()
1920 if (TemplateArgs || TemplateKWLoc.isValid()) in ActOnIdExpression()
1921 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, ADL, TemplateArgs); in ActOnIdExpression()
[all …]
/external/clang/include/clang/AST/
DTemplateBase.h612 void setTemplateKeywordLoc(SourceLocation TemplateKWLoc) { in setTemplateKeywordLoc()
614 (getTemplateArgs() + NumTemplateArgs) = TemplateKWLoc; in setTemplateKeywordLoc()
618 Create(ASTContext &C, SourceLocation TemplateKWLoc,
621 void initializeFrom(SourceLocation TemplateKWLoc,
623 void initializeFrom(SourceLocation TemplateKWLoc,
627 void initializeFrom(SourceLocation TemplateKWLoc);
DTypeLoc.h1270 SourceLocation TemplateKWLoc; member
1282 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1285 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
1655 SourceLocation TemplateKWLoc; member
1699 return getLocalData()->TemplateKWLoc; in getTemplateKeywordLoc()
1702 getLocalData()->TemplateKWLoc = Loc; in setTemplateKeywordLoc()
DExprCXX.h2302 SourceLocation TemplateKWLoc,
2484 SourceLocation TemplateKWLoc, in UnresolvedLookupExpr() argument
2489 : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc, in UnresolvedLookupExpr()
2518 SourceLocation TemplateKWLoc,
2598 SourceLocation TemplateKWLoc,
2605 SourceLocation TemplateKWLoc,
2962 SourceLocation TemplateKWLoc,
2981 SourceLocation TemplateKWLoc,
3189 SourceLocation TemplateKWLoc,
3206 SourceLocation TemplateKWLoc,
DNestedNameSpecifier.h369 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
DExpr.h900 SourceLocation TemplateKWLoc,
931 SourceLocation TemplateKWLoc,
941 SourceLocation TemplateKWLoc,
2353 SourceLocation TemplateKWLoc,
/external/clang/lib/Parse/
DParseExprCXX.cpp271 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier() local
311 SS, TemplateKWLoc, TemplateName, in ParseOptionalCXXScopeSpecifier()
314 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc, in ParseOptionalCXXScopeSpecifier()
350 TemplateId->TemplateKWLoc, in ParseOptionalCXXScopeSpecifier()
550 SourceLocation TemplateKWLoc; in ParseCXXIdExpression() local
557 TemplateKWLoc, in ParseCXXIdExpression()
566 return Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name, in ParseCXXIdExpression()
1631 SourceLocation TemplateKWLoc, in ParseUnqualifiedIdTemplateId() argument
1648 TNK = Actions.ActOnDependentTemplateName(getCurScope(), SS, TemplateKWLoc, in ParseUnqualifiedIdTemplateId()
1656 TemplateKWLoc.isValid(), Id, in ParseUnqualifiedIdTemplateId()
[all …]
DParseTemplate.cpp864 SourceLocation TemplateKWLoc, in AnnotateTemplateIdToken() argument
896 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc, in AnnotateTemplateIdToken()
911 else if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
912 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
930 TemplateId->TemplateKWLoc = TemplateKWLoc; in AnnotateTemplateIdToken()
939 if (TemplateKWLoc.isValid()) in AnnotateTemplateIdToken()
940 Tok.setLocation(TemplateKWLoc); in AnnotateTemplateIdToken()
973 TemplateId->TemplateKWLoc, in AnnotateTemplateIdTokenAsType()
1023 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseTemplateTemplateArgument() local
1041 SS, TemplateKWLoc, Name, in ParseTemplateTemplateArgument()
DParseExpr.cpp848 SourceLocation TemplateKWLoc; in ParseCastExpression() local
852 Res = Actions.ActOnIdExpression(getCurScope(), ScopeSpec, TemplateKWLoc, in ParseCastExpression()
1487 SourceLocation TemplateKWLoc; in ParsePostfixExpressionSuffix() local
1505 ObjectType, TemplateKWLoc, Name)) in ParsePostfixExpressionSuffix()
1510 OpKind, SS, TemplateKWLoc, Name, in ParsePostfixExpressionSuffix()
DParseDeclCXX.cpp482 SourceLocation TemplateKWLoc; in ParseUsingDeclaration() local
489 TemplateKWLoc, in ParseUsingDeclaration()
1422 TemplateId->TemplateKWLoc, in ParseClassSpecifier()
1903 SourceLocation TemplateKWLoc; in ParseCXXClassMemberDeclaration() local
1906 TemplateKWLoc, Name)) { in ParseCXXClassMemberDeclaration()
DParser.cpp1507 TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
1765 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. in ParseMicrosoftIfExistsCondition() local
1767 TemplateKWLoc, Result.Name)) { in ParseMicrosoftIfExistsCondition()
/external/clang/include/clang/Sema/
DParsedTemplate.h147 SourceLocation TemplateKWLoc; member
DSema.h2992 SourceLocation TemplateKWLoc,
3012 SourceLocation TemplateKWLoc,
3032 SourceLocation TemplateKWLoc,
3036 SourceLocation TemplateKWLoc,
3048 SourceLocation TemplateKWLoc,
3136 SourceLocation TemplateKWLoc,
3156 SourceLocation TemplateKWLoc,
3177 SourceLocation TemplateKWLoc,
3186 SourceLocation TemplateKWLoc,
4168 SourceLocation TemplateKWLoc,
[all …]
DDeclSpec.h94 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp101 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); in ReadTemplateKWAndArgsInfo() local
108 Args.initializeFrom(TemplateKWLoc, ArgInfo); in ReadTemplateKWAndArgsInfo()
1792 SourceLocation TemplateKWLoc; in ReadStmtFromStream() local
1796 TemplateKWLoc = ReadSourceLocation(F, Record, Idx); in ReadStmtFromStream()
1820 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo, in ReadStmtFromStream()
/external/clang/include/clang/Parse/
DParser.h2092 SourceLocation TemplateKWLoc,
2108 SourceLocation& TemplateKWLoc,
2157 SourceLocation TemplateKWLoc,

12