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

12

/external/clang/lib/AST/
H A DExprCXX.cpp294 SourceLocation TemplateKWLoc,
301 assert(Args || TemplateKWLoc.isValid());
306 TemplateKWLoc, NameInfo,
327 SourceLocation TemplateKWLoc,
349 TemplateKWLoc.isValid()) {
376 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs,
389 } else if (TemplateKWLoc.isValid()) {
390 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc);
422 SourceLocation TemplateKWLoc,
435 HasTemplateKWAndArgsInfo(Args != nullptr || TemplateKWLoc
291 Create(const ASTContext &C, CXXRecordDecl *NamingClass, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, bool ADL, const TemplateArgumentListInfo *Args, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
325 OverloadExpr(StmtClass K, const ASTContext &C, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End, bool KnownDependent, bool KnownInstantiationDependent, bool KnownContainsUnexpandedParameterPack) argument
420 DependentScopeDeclRefExpr(QualType T, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *Args) argument
453 Create(const ASTContext &C, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *Args) argument
1184 CXXDependentScopeMemberExpr(const ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1242 Create(const ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1317 UnresolvedMemberExpr(const 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
1355 Create(const 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.cpp342 SourceLocation TemplateKWLoc,
357 = (TemplateArgs || TemplateKWLoc.isValid()) ? 1 : 0;
363 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *TemplateArgs,
369 } else if (TemplateKWLoc.isValid()) {
370 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc);
379 SourceLocation TemplateKWLoc,
387 return Create(Context, QualifierLoc, TemplateKWLoc, D,
395 SourceLocation TemplateKWLoc,
414 else if (TemplateKWLoc.isValid())
418 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc,
340 DeclRefExpr(const ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingLocal, const DeclarationNameInfo &NameInfo, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs, QualType T, ExprValueKind VK) argument
377 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingLocal, SourceLocation NameLoc, QualType T, ExprValueKind VK, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs) argument
393 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingLocal, const DeclarationNameInfo &NameInfo, QualType T, ExprValueKind VK, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs) argument
1325 Create(const 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.cpp503 SourceLocation TemplateKWLoc,
507 TemplateKWLoc.isValid(),
502 Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, SourceLocation ColonColonLoc) argument
/external/clang/include/clang/AST/
H A DTemplateBase.h619 void setTemplateKeywordLoc(SourceLocation TemplateKWLoc) { argument
621 (getTemplateArgs() + NumTemplateArgs) = TemplateKWLoc;
625 Create(ASTContext &C, SourceLocation TemplateKWLoc,
628 void initializeFrom(SourceLocation TemplateKWLoc,
630 void initializeFrom(SourceLocation TemplateKWLoc,
634 void initializeFrom(SourceLocation TemplateKWLoc);
H A DTypeLoc.h1355 SourceLocation TemplateKWLoc;
1367 return getLocalData()->TemplateKWLoc;
1370 getLocalData()->TemplateKWLoc = Loc;
1744 SourceLocation TemplateKWLoc;
1788 return getLocalData()->TemplateKWLoc;
1791 getLocalData()->TemplateKWLoc = Loc;
H A DNestedNameSpecifier.h370 /// \param TemplateKWLoc The location of the 'template' keyword, if present.
375 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
H A DExprCXX.h2291 SourceLocation TemplateKWLoc,
2477 SourceLocation TemplateKWLoc,
2482 : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc,
2511 SourceLocation TemplateKWLoc,
2591 SourceLocation TemplateKWLoc,
2598 SourceLocation TemplateKWLoc,
2963 SourceLocation TemplateKWLoc,
2979 SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope,
3190 SourceLocation TemplateKWLoc,
3207 SourceLocation TemplateKWLoc,
[all...]
H A DExpr.h935 SourceLocation TemplateKWLoc,
966 SourceLocation TemplateKWLoc, ValueDecl *D, bool isEnclosingLocal,
973 SourceLocation TemplateKWLoc, ValueDecl *D, bool isEnclosingLocal,
2394 SourceLocation TemplateKWLoc,
/external/clang/lib/Sema/
H A DSemaExprMember.cpp236 SourceLocation TemplateKWLoc,
241 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, true);
246 return BuildImplicitMemberExpr(SS, TemplateKWLoc, R, TemplateArgs, false);
256 if (TemplateArgs || TemplateKWLoc.isValid())
257 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, false, TemplateArgs);
445 SourceLocation TemplateKWLoc,
477 SS.getWithLocInContext(Context), TemplateKWLoc, FirstQualifierInScope,
682 SourceLocation TemplateKWLoc,
691 SS, TemplateKWLoc, FirstQualifierInScope,
728 OpLoc, IsArrow, SS, TemplateKWLoc,
235 BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs) argument
442 ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
679 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, ActOnMemberAccessExtraArgs *ExtraArgs) argument
867 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 = nullptr) argument
883 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
1597 ActOnMemberAccessExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, Decl *ObjCImpDecl, bool HasTrailingLParen) argument
1726 BuildImplicitMemberExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool IsKnownInstance) argument
[all...]
H A DSemaTemplate.cpp409 SourceLocation TemplateKWLoc,
426 /*Op*/ SourceLocation(), SS.getWithLocInContext(Context), TemplateKWLoc,
430 return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs);
435 SourceLocation TemplateKWLoc,
439 Context, SS.getWithLocInContext(Context), TemplateKWLoc, NameInfo,
2155 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, argument
2182 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
2200 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
2225 SourceLocation TemplateKWLoc,
2254 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
408 ActOnDependentIdExpression(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, bool isAddressOfOperand, const TemplateArgumentListInfo *TemplateArgs) argument
434 BuildDependentDeclRefExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2221 ActOnTagTemplateIdType(TagUseKind TUK, TypeSpecifierType TagSpec, SourceLocation TagLoc, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy TemplateD, SourceLocation TemplateLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc) argument
2398 ActOnVarTemplateSpecialization( Scope *S, Declarator &D, TypeSourceInfo *DI, SourceLocation TemplateKWLoc, TemplateParameterList *TemplateParams, VarDecl::StorageClass SC, bool IsPartialSpecialization) argument
2823 BuildTemplateIdExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, bool RequiresADL, const TemplateArgumentListInfo *TemplateArgs) argument
2868 BuildQualifiedTemplateIdExpr(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2912 ActOnDependentTemplateName(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Name, ParsedType ObjectType, bool EnteringContext, TemplateTy &Result) argument
3469 SourceLocation TemplateKWLoc; local
5944 SourceLocation TemplateKWLoc = TemplateParameterLists.size() > 0 local
7758 ActOnTypenameType(Scope *S, SourceLocation TypenameLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy TemplateIn, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc) argument
[all...]
H A DSemaCXXScopeSpec.cpp795 SourceLocation TemplateKWLoc,
826 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
833 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T),
870 SpecTL.setTemplateKeywordLoc(TemplateKWLoc);
878 SS.Extend(Context, TemplateKWLoc, Builder.getTypeLocInContext(Context, T),
793 ActOnCXXNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, TemplateTy Template, SourceLocation TemplateNameLoc, SourceLocation LAngleLoc, ASTTemplateArgsPtr TemplateArgsIn, SourceLocation RAngleLoc, SourceLocation CCLoc, bool EnteringContext) argument
H A DSemaStmtAsm.cpp372 SourceLocation TemplateKWLoc,
382 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id,
371 LookupInlineAsmIdentifier(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, llvm::InlineAsmIdentifierInfo &Info, bool IsUnevaluatedContext) argument
H A DTreeTransform.h1790 SourceLocation TemplateKWLoc,
1835 SS, TemplateKWLoc,
2338 SourceLocation TemplateKWLoc,
2346 if (TemplateArgs || TemplateKWLoc.isValid())
2347 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc, NameInfo,
2359 SourceLocation TemplateKWLoc,
2363 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL,
2431 SourceLocation TemplateKWLoc,
2440 SS, TemplateKWLoc,
2454 SourceLocation TemplateKWLoc,
1787 RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, bool isArrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, ValueDecl *Member, NamedDecl *FoundDecl, const TemplateArgumentListInfo *ExplicitTemplateArgs, NamedDecl *FirstQualifierInScope) argument
2336 RebuildDependentScopeDeclRefExpr( NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, bool IsAddressOfOperand, TypeSourceInfo **RecoveryTSI) argument
2358 RebuildTemplateIdExpr(const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, bool RequiresADL, const TemplateArgumentListInfo *TemplateArgs) argument
2426 RebuildCXXDependentScopeMemberExpr(Expr *BaseE, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
2450 RebuildUnresolvedMemberExpr(Expr *BaseE, QualType BaseType, SourceLocation OperatorLoc, bool IsArrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs) argument
7137 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); local
8235 SourceLocation TemplateKWLoc = Old->getTemplateKeywordLoc(); local
8983 SourceLocation TemplateKWLoc = E->getTemplateKeywordLoc(); local
9060 SourceLocation TemplateKWLoc = Old->getTemplateKeywordLoc(); local
10006 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
10025 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
10189 SourceLocation TemplateKWLoc; // FIXME: retrieve it from caller. local
[all...]
H A DDeclSpec.cpp56 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, argument
58 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc);
/external/clang/lib/Parse/
H A DParseTemplate.cpp895 /// \param TemplateKWLoc if valid, specifies that this template-id
912 SourceLocation TemplateKWLoc,
943 = Actions.ActOnTemplateIdType(SS, TemplateKWLoc,
957 else if (TemplateKWLoc.isValid())
958 Tok.setLocation(TemplateKWLoc);
976 TemplateId->TemplateKWLoc = TemplateKWLoc;
985 if (TemplateKWLoc.isValid())
986 Tok.setLocation(TemplateKWLoc);
1019 TemplateId->TemplateKWLoc,
910 AnnotateTemplateIdToken(TemplateTy Template, TemplateNameKind TNK, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &TemplateName, bool AllowTypeAnnotation) argument
1069 SourceLocation TemplateKWLoc = ConsumeToken(); local
[all...]
H A DParseExprCXX.cpp293 SourceLocation TemplateKWLoc = ConsumeToken(); local
337 SS, TemplateKWLoc, TemplateName,
340 if (AnnotateTemplateIdToken(Template, TNK, SS, TemplateKWLoc,
379 TemplateId->TemplateKWLoc,
609 SourceLocation TemplateKWLoc; local
616 TemplateKWLoc,
625 return Actions.ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Name,
1412 // FIXME: retrieve TemplateKWLoc from template-id annotation and
1873 SourceLocation TemplateKWLoc,
1890 TNK = Actions.ActOnDependentTemplateName(getCurScope(), SS, TemplateKWLoc,
1872 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument
2308 ParseUnqualifiedId(CXXScopeSpec &SS, bool EnteringContext, bool AllowDestructorName, bool AllowConstructorName, ParsedType ObjectType, SourceLocation& TemplateKWLoc, UnqualifiedId &Result) argument
[all...]
H A DParseOpenMP.cpp242 SourceLocation TemplateKWLoc; local
254 TemplateKWLoc, Name)) {
518 SourceLocation TemplateKWLoc; local
559 TemplateKWLoc, ReductionId);
H A DParseStmtAsm.cpp202 SourceLocation TemplateKWLoc; local
209 /*ObjectType=*/ParsedType(), TemplateKWLoc, Id);
244 return Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, Info,
H A DParseExpr.cpp814 SourceLocation TemplateKWLoc; local
819 Res = Actions.ActOnIdExpression(getCurScope(), ScopeSpec, TemplateKWLoc,
1413 SourceLocation TemplateKWLoc; local
1431 ObjectType, TemplateKWLoc, Name))
1436 OpKind, SS, TemplateKWLoc, Name,
H A DParser.cpp1560 TemplateId->TemplateKWLoc,
1819 SourceLocation TemplateKWLoc; // FIXME: parsed, but unused. local
1821 TemplateKWLoc, Result.Name)) {
H A DParseDeclCXX.cpp509 SourceLocation TemplateKWLoc; local
533 TemplateKWLoc, Name)) {
1508 TemplateId->TemplateKWLoc,
2040 SourceLocation TemplateKWLoc; local
2043 TemplateKWLoc, Name)) {
/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.h3113 SourceLocation TemplateKWLoc,
3359 SourceLocation TemplateKWLoc,
3381 SourceLocation TemplateKWLoc,
3406 SourceLocation TemplateKWLoc,
3410 SourceLocation TemplateKWLoc,
3423 SourceLocation TemplateKWLoc,
3527 CXXScopeSpec &SS, SourceLocation TemplateKWLoc,
3535 SourceLocation TemplateKWLoc,
3550 SourceLocation TemplateKWLoc,
3559 SourceLocation TemplateKWLoc,
[all...]
/external/clang/include/clang/Parse/
H A DParser.h2304 SourceLocation TemplateKWLoc,
2371 SourceLocation& TemplateKWLoc,
2426 SourceLocation TemplateKWLoc,
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp111 SourceLocation TemplateKWLoc = ReadSourceLocation(Record, Idx); local
118 Args.initializeFrom(TemplateKWLoc, ArgInfo);
2207 SourceLocation TemplateKWLoc; local
2211 TemplateKWLoc = ReadSourceLocation(F, Record, Idx);
2235 TemplateKWLoc, MemberD, FoundDecl, MemberNameInfo,

Completed in 314 milliseconds

12