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

12

/external/clang/lib/AST/
H A DExprCXX.cpp216 SourceLocation TemplateKWLoc,
223 assert(Args || TemplateKWLoc.isValid());
228 TemplateKWLoc, NameInfo,
249 SourceLocation TemplateKWLoc,
270 HasTemplateKWAndArgsInfo(TemplateArgs != 0 || TemplateKWLoc.isValid())
298 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs,
311 } else if (TemplateKWLoc.isValid()) {
312 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc);
344 SourceLocation TemplateKWLoc,
357 HasTemplateKWAndArgsInfo(Args != 0 || TemplateKWLoc
213 Create(ASTContext &C, CXXRecordDecl *NamingClass, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, bool ADL, const TemplateArgumentListInfo *Args, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
247 OverloadExpr(StmtClass K, ASTContext &C, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End, bool KnownDependent, bool KnownInstantiationDependent, bool KnownContainsUnexpandedParameterPack) argument
342 DependentScopeDeclRefExpr(QualType T, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *Args) argument
375 Create(ASTContext &C, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *Args) argument
1048 CXXDependentScopeMemberExpr(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1105 Create(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1185 UnresolvedMemberExpr(ASTContext &C, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
1223 Create(ASTContext &C, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
[all...]
H A DExpr.cpp280 SourceLocation TemplateKWLoc,
295 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0;
301 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs,
307 } else if (TemplateKWLoc.isValid()) {
308 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc);
317 SourceLocation TemplateKWLoc,
325 return Create(Context, QualifierLoc, TemplateKWLoc, D,
333 SourceLocation TemplateKWLoc,
352 else if (TemplateKWLoc.isValid())
356 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc,
278 DeclRefExpr(ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingLocal, const DeclarationNameInfo &NameInfo, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs, QualType T, ExprValueKind VK) argument
315 Create(ASTContext &Context, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingLocal, SourceLocation NameLoc, QualType T, ExprValueKind VK, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs) argument
331 Create(ASTContext &Context, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingLocal, const DeclarationNameInfo &NameInfo, QualType T, ExprValueKind VK, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs) argument
1179 Create(ASTContext &C, Expr *base, bool isarrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *memberdecl, DeclAccessPair founddecl, DeclarationNameInfo nameinfo, const TemplateArgumentListInfo *targs, QualType ty, ExprValueKind vk, ExprObjectKind ok) argument
[all...]
H A DNestedNameSpecifier.cpp504 SourceLocation TemplateKWLoc,
508 TemplateKWLoc.isValid(),
503 Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, SourceLocation ColonColonLoc) argument
/external/clang/include/clang/AST/
H A DTemplateBase.h571 void setTemplateKeywordLoc(SourceLocation TemplateKWLoc) { argument
573 (getTemplateArgs() + NumTemplateArgs) = TemplateKWLoc;
577 Create(ASTContext &C, SourceLocation TemplateKWLoc,
580 void initializeFrom(SourceLocation TemplateKWLoc,
582 void initializeFrom(SourceLocation TemplateKWLoc,
586 void initializeFrom(SourceLocation TemplateKWLoc);
H A DTypeLoc.h1225 SourceLocation TemplateKWLoc;
1237 return getLocalData()->TemplateKWLoc;
1240 getLocalData()->TemplateKWLoc = Loc;
1610 SourceLocation TemplateKWLoc;
1654 return getLocalData()->TemplateKWLoc;
1657 getLocalData()->TemplateKWLoc = Loc;
H A DNestedNameSpecifier.h365 /// \param TemplateKWLoc The location of the 'template' keyword, if present.
370 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
H A DExprCXX.h2290 SourceLocation TemplateKWLoc,
2477 SourceLocation TemplateKWLoc,
2483 : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc,
2518 SourceLocation TemplateKWLoc,
2601 SourceLocation TemplateKWLoc,
2608 SourceLocation TemplateKWLoc,
2964 SourceLocation TemplateKWLoc,
2983 SourceLocation TemplateKWLoc,
3194 SourceLocation TemplateKWLoc,
3211 SourceLocation TemplateKWLoc,
[all...]
H A DExpr.h834 SourceLocation TemplateKWLoc,
865 SourceLocation TemplateKWLoc,
875 SourceLocation TemplateKWLoc,
2259 SourceLocation TemplateKWLoc,
/external/clang/lib/Sema/
H A DSemaExprMember.cpp226 SourceLocation TemplateKWLoc,
231 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true);
236 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false);
245 if (TemplateArgs || TemplateKWLoc.isValid())
246 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs);
440 SourceLocation TemplateKWLoc,
473 TemplateKWLoc,
639 SourceLocation TemplateKWLoc,
647 SS, TemplateKWLoc, FirstQualifierInScope,
685 OpLoc, IsArrow, SS, TemplateKWLoc,
225 BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs) argument
437 ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
636 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
809 BuildMemberExpr(Sema &SemaRef, ASTContext &C, Expr *Base, bool isArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo, QualType Ty, ExprValueKind VK, ExprObjectKind OK, const TemplateArgumentListInfo *TemplateArgs = 0) argument
829 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool SuppressQualifierCheck, ActOnMemberAccessExtraArgs *ExtraArgs) argument
1506 ActOnMemberAccessExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, Decl *ObjCImpDecl, bool HasTrailingLParen) argument
1652 BuildImplicitMemberExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool IsKnownInstance) argument
[all...]
H A DSemaCXXScopeSpec.cpp759 SourceLocation TemplateKWLoc,
790 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
797 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T),
834 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
842 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T),
757 ActOnCXXNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy Template, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc, SourceLocation CCLoc, bool EnteringContext) argument
H A DSemaTemplate.cpp408 SourceLocation TemplateKWLoc,
428 TemplateKWLoc,
434 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs);
439 SourceLocation TemplateKWLoc,
444 TemplateKWLoc,
2116 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, argument
2143 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
2161 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
2186 SourceLocation TemplateKWLoc,
2215 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
407 ActOnDependentIdExpression(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, bool isAddressOfOperand, const TemplateArgumentListInfo *TemplateArgs) argument
438 BuildDependentDeclRefExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2182 ActOnTagTemplateIdType(TagUseKind TUK, TypeSpecifierType TagSpec, SourceLocation TagLoc, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy TemplateD, SourceLocation TemplateLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc) argument
2274 BuildTemplateIdExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, bool RequiresADL, const TemplateArgumentListInfo *TemplateArgs) argument
2309 BuildQualifiedTemplateIdExpr(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2352 ActOnDependentTemplateName(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Name, ParsedType ObjectType, bool EnteringContext, TemplateTy &Result) argument
2871 SourceLocation TemplateKWLoc; local
5209 SourceLocation TemplateKWLoc = TemplateParameterLists.size() > 0 local
6954 ActOnTypenameType(Scope *S, SourceLocation TypenameLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy TemplateIn, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc) argument
[all...]
H A DTreeTransform.h1507 SourceLocation TemplateKWLoc,
1552 SS, TemplateKWLoc,
2073 SourceLocation TemplateKWLoc,
2079 if (TemplateArgs || TemplateKWLoc.isValid())
2080 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc,
2091 SourceLocation TemplateKWLoc,
2095 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL,
2161 SourceLocation TemplateKWLoc,
2170 SS, TemplateKWLoc,
2184 SourceLocation TemplateKWLoc,
1504 RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, bool isArrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, ValueDecl *Member, NamedDecl *FoundDecl, const TemplateArgumentListInfo *ExplicitTemplateArgs, NamedDecl *FirstQualifierInScope) argument
2071 RebuildDependentScopeDeclRefExpr( NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2090 RebuildTemplateIdExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, bool RequiresADL, const TemplateArgumentListInfo *TemplateArgs) argument
2156 RebuildCXXDependentScopeMemberExpr(Expr *BaseE, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2180 RebuildUnresolvedMemberExpr(Expr *BaseE, QualType BaseType, SourceLocation OperatorLoc, bool IsArrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs) argument
6396 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); local
7479 SourceLocation TemplateKWLoc = Old->getTemplateKeywordLoc(); local
8085 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); local
8162 SourceLocation TemplateKWLoc = Old->getTemplateKeywordLoc(); local
9094 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
9113 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
9257 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
[all...]
H A DDeclSpec.cpp54 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, argument
56 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc);
H A DSemaExpr.cpp695 SourceLocation TemplateKWLoc; local
699 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc,
1672 SourceLocation TemplateKWLoc,
1719 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo,
1738 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo,
1747 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo,
1787 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo,
1854 return BuildPossibleImplicitMemberExpr(SS, TemplateKWLoc,
1858 if (TemplateArgs || TemplateKWLoc.isValid())
1859 return BuildTemplateIdExpr(SS, TemplateKWLoc,
1670 ActOnIdExpression(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, bool HasTrailingLParen, bool IsAddressOfOperand, CorrectionCandidateCallback *CCC) argument
1960 SourceLocation TemplateKWLoc; local
[all...]
/external/clang/lib/Parse/
H A DParseTemplate.cpp848 /// \param TemplateKWLoc if valid, specifies that this template-id
865 SourceLocation TemplateKWLoc,
897 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc,
912 else if (TemplateKWLoc.isValid())
913 Tok.setLocation(TemplateKWLoc);
931 TemplateId->TemplateKWLoc = TemplateKWLoc;
940 if (TemplateKWLoc.isValid())
941 Tok.setLocation(TemplateKWLoc);
974 TemplateId->TemplateKWLoc,
863 AnnotateTemplateIdToken(TemplateTy Template, TemplateNameKind TNK, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &TemplateName, bool AllowTypeAnnotation) argument
1024 SourceLocation TemplateKWLoc = ConsumeToken(); local
[all...]
H A DParseExprCXX.cpp230 SourceLocation TemplateKWLoc = ConsumeToken(); local
270 SS, TemplateKWLoc, TemplateName,
273 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc,
309 TemplateId->TemplateKWLoc,
507 SourceLocation TemplateKWLoc; local
514 TemplateKWLoc,
523 return Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name,
1120 // FIXME: retrieve TemplateKWLoc from template-id annotation and
1576 SourceLocation TemplateKWLoc,
1593 TNK = Actions.ActOnDependentTemplateName(getCurScope(), SS, TemplateKWLoc,
1575 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument
2004 ParseUnqualifiedId(CXXScopeSpec &SS, bool EnteringContext, bool AllowDestructorName, bool AllowConstructorName, ParsedType ObjectType, SourceLocation& TemplateKWLoc, UnqualifiedId &Result) argument
[all...]
H A DParseExpr.cpp889 SourceLocation TemplateKWLoc; local
893 Res = Actions.ActOnIdExpression(getCurScope(), ScopeSpec, TemplateKWLoc,
1519 SourceLocation TemplateKWLoc; local
1537 ObjectType, TemplateKWLoc, Name))
1542 OpKind, SS, TemplateKWLoc, Name,
H A DParseDeclCXX.cpp477 SourceLocation TemplateKWLoc; local
484 TemplateKWLoc,
1315 TemplateId->TemplateKWLoc,
1782 SourceLocation TemplateKWLoc; local
1785 TemplateKWLoc, Name)) {
H A DParser.cpp1515 TemplateId->TemplateKWLoc,
1773 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. local
1775 TemplateKWLoc, Result.Name)) {
H A DParseDecl.cpp4305 SourceLocation TemplateKWLoc; local
4311 TemplateKWLoc,
/external/clang/include/clang/Sema/
H A DParsedTemplate.h145 /// TemplateKWLoc - The location of the template keyword within the
147 SourceLocation TemplateKWLoc; member in struct:clang::TemplateIdAnnotation
H A DSema.h2800 SourceLocation TemplateKWLoc,
2820 SourceLocation TemplateKWLoc,
2840 SourceLocation TemplateKWLoc,
2844 SourceLocation TemplateKWLoc,
2855 SourceLocation TemplateKWLoc,
2943 SourceLocation TemplateKWLoc,
2963 SourceLocation TemplateKWLoc,
2984 SourceLocation TemplateKWLoc,
2993 SourceLocation TemplateKWLoc,
3951 /// \param TemplateKWLoc th
[all...]
H A DDeclSpec.h89 /// \param TemplateKWLoc The location of the 'template' keyword, if present.
94 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
/external/clang/include/clang/Parse/
H A DParser.h2046 SourceLocation TemplateKWLoc,
2060 SourceLocation& TemplateKWLoc,
2106 SourceLocation TemplateKWLoc,
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp101 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); local
108 Args.initializeFrom(TemplateKWLoc, ArgInfo);
1787 SourceLocation TemplateKWLoc; local
1791 TemplateKWLoc = ReadSourceLocation(F, Record, Idx);
1815 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo,

Completed in 4107 milliseconds

12